Clock control circuits, systems and methods

ABSTRACT

A microprocessor device (102) includes a central processing unit (702) having a clock input, a clock generator (OSC, PLL) of clock pulses, a logic circuit (708) having an output to supply a clock control signal (SUSP), and a clock gate (3610) fed by the clock pulses and having a clock gate output (CPU --  CLK) coupled to the clock input of the central processing unit. The clock gate (3610) responds to the clock control signal (SUSP) to prevent said clock pulses (CPU --  CLK) from reaching the central processing unit within one clock cycle of a change in said clock control signal. Other devices, systems and methods are also disclosed.

NOTICE

(C) Copyright, *M* Texas Instruments Incorporated 1994. A portion of thedisclosure of this patent document contains material which is subject tocopyright and mask work protection. The copyright and mask work ownerhas no objection to the facsimile reproduction by anyone of the patentdocument or the patent disclosure, as it appears in the Patent andTrademark Office patent file or records, but otherwise reserves allcopyright and mask work rights whatsoever.

CROSS-REFERENCE TO RELATED APPLICATIONS

The following simultaneously filed, coassigned patent applications arehereby incorporated herein by reference:

    ______________________________________                                        SER. NO. FILING DATE TI CASE NO.                                              ______________________________________                                        08/363,198                                                                             12-22-94    TI-18329                                                 08/363,109                                                                             12-22-94    TI-18533 now abandoned                                   08/363,673                                                                             12-22-94    TI-18536 now abandoned                                   08/363,098                                                                             12-22-94    TI-18538 now abandoned                                   08/362,669                                                                             12-22-94    TI-18540 now abandoned                                   08/362,325                                                                             12-22-94    TI-18541                                                 08/363,543                                                                             12-22-94    TI-18902                                                 08/363,450                                                                             12-22-94    TI-19880 now abandoned                                   08/363,459                                                                             12-22-94    TI-20173                                                 08/362,201                                                                             12-22-94    TI-20174 U.S. Pat. No. 5,568,589                         08/363,449                                                                             12-22-94    TI-20175 now abandoned                                   08/362,032                                                                             12-22-94    TI-20177                                                 08/362,351                                                                             12-22-94    TI-20178 now abandoned                                   08/362,288                                                                             12-22-94    TI-20180 now abandoned                                   08/362,637                                                                             12-22-94    TI-20181                                                 08/362,033                                                                             12-22-94    TI-20182                                                 08/362,701                                                                             12-22-94    TI-20183                                                 08/363,661                                                                             12-22-94    TI-20185                                                 08/362,702                                                                             12-22-94    TI-20186                                                 ______________________________________                                    

Other patent applications and patents are incorporated herein byreference by specific statements to that effect elsewhere in thisapplication.

FIELD OF THE INVENTION

This invention generally relates to electronic circuits, computersystems and methods of operating them.

BACKGROUND OF THE INVENTION

Without limiting the scope of the invention, its background is describedin connection with computer systems, as an example.

Early computers required large amounts of space, occupying whole rooms.Since then minicomputers and desktop computers entered the marketplace.

Popular desktop computers have included the "Apple" (Motorola 680x0microprocessor-based) and "IBM-compatible" (Intel or other x86microprocessor-based) varieties, also known as personal computers (PCs)which have become very popular for office and home use. Also, high-enddesk top computers called workstations based on a number of superscalarand other very-high-performance microprocessors such as the SuperSPARCmicroprocessor have been introduced.

In a further development, a notebook-size or palm-top computer isoptionally battery powered for portable user applications. Such notebookand smaller computers challenge the art in demands for conflicting goalsof miniaturization, ever higher speed, performance and flexibility, andlong life between battery recharges. Also, a desktop enclosure called adocking station has the portable computer fit into the docking station,and improvements in such portable-computer/docking-station systems aredesirable. Improvements in circuits, integrated circuit devices,computer systems of all types, and methods to address all thejust-mentioned challenges, among others, are desirable, as describedherein.

SUMMARY OF THE INVENTION

Generally, and in one form of the present invention, a microprocessordevice includes a central processing unit having a clock input, a clockgenerator of clock pulses, a logic circuit having an output to supply aclock control signal, and a clock gate fed by the clock pulses andhaving a clock gate output coupled to the clock input of the centralprocessing unit. The clock gate responds to the clock control signal toprevent said clock pulses from reaching the central processing unitwithin one clock cycle of a change in said clock control signal.

In another form of the present invention a clock control circuit has afirst logic circuit responsive to a mask clock input, a suspend inputand a resume input, and a further interrupt override input, to supply aCPU core suspend control output; and a second logic circuit responsiveto an enabling register bit, at least one interrupt input, and a clocksignal to supply the interrupt override input to lift CPU core suspendwhen the interrupt occurs.

Other devices, systems and methods are also claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings:

FIG. 1 is a pictorial diagram of two notebook computer embodiments, oneof them being inserted into a docking station embodiment to provide acombined system embodiment;

FIGS. 2A-2C are a right-side profile view, plan view, and rear elevationof the combined system of notebook and docking station of FIG. 1;

FIG. 3 is an electrical block diagram of the FIG. 1 combined embodimentsystem of improved notebook computer and docking station system to whichthe notebook computer system connects;

FIG. 4 is an electrical block diagram of another embodiment of animproved computer system for desktop, notebook computer and dockingstation applications;

FIGS. 5, 6 and 7 are three parts of a more detailed electrical diagram(partially schematic, partially block) of a preferred embodimentelectronic computer system for use in embodiments including those ofFIGS. 3 and 4, wherein FIG. 5 shows MPU and PCU, FIG. 6 shows PPU andperipherals, and FIG. 7 shows display controller and other elements;

FIG. 8 is a plan view of a preferred embodiment apparatus having aprinted wiring board and electronic components of the computer system ofFIGS. 5-7;

FIG. 9 is a block diagram of a microprocessor unit (MPU) deviceembodiment for the system of FIGS. 5-7;

FIG. 10 is a plan view of an integrated circuit with improved topographyfor implementing the microprocessor unit of FIG. 9;

FIG. 11 is a block diagram of a peripheral processing unit (PPU) deviceembodiment for implementing the PPU in the system of FIGS. 5-7;

FIG. 12 is a plan view of an integrated circuit with improved topographyfor implementing the peripheral processing unit of FIG. 11;

FIG. 13 is an electrical block diagram of another embodiment of animproved computer system for desktop and other applications;

FIG. 14 is a more detailed block diagram of a bus interface block forthe embodiment of FIG. 11;

FIG. 15 is a more detailed block diagram of DMA (Direct Memory Access)circuitry relating to the circuitry embodiments of FIGS. 11 and 14;

FIG. 16 is a block diagram of an improved BIOS addressing circuitinterconnecting the PPU of FIG. 11 with a BIOS flash memory;

FIG. 17 is a block diagram of interconnection of the PPU of FIG. 11 withBIOS ROM, KBC (Keyboard Controller), add-on chips and IDE hard diskdrive in the system embodiment of FIGS. 5-7;

FIG. 18 is a block diagram of a peripheral control unit (PCU) deviceembodiment to accept insertable cards for the system of FIGS. 5-7;

FIG. 19 is a plan view of an integrated circuit with improved topographyfor implementing the peripheral control unit of FIG. 18;

FIG. 20 is a block diagram of selected power and controlinterconnections between the MPU, PCU, PPU, power supply, displaycircuitry and peripherals in the system embodiment of FIGS. 5-7;

FIG. 21 is a partially block, partially schematic diagram of a PPUcircuit embodiment connecting to ON/OFF and SUSPEND/RESUME buttoncircuitry, docking station connector circuitry and a power supply invarious circuit embodiments;

FIG. 22 is a block diagram of a part 920B of a power management circuitembodiment for use in a PPU of FIG. 11;

FIG. 23 is a state transition diagram of power management states in apreferred embodiment of the power management system of FIG. 22, as wellas circuitry for same and method of operation;

FIG. 24 is a block diagram of another part 920A of the power managementcircuit embodiment in the PPU of FIG. 11;

FIG. 25 is a partially schematic and partially block diagram of a timersblock 2350 in FIG. 24;

FIGS. 26A-B are a partially schematic and partially block diagrams ofnon-linear timer embodiments for use in some of the timers of FIG. 25;

FIG. 27 is a partially schematic and partially block diagram of a maskclock generator 2340 embodiment in FIG. 23 connected to clock circuitryin the MPU of FIGS. 5, 9, 33 and 36, together with waveform diagrams;

FIG. 28 is a partially schematic and partially block diagram of a systemmanagement interrupt circuitry 2370 embodiment in FIG. 24;

FIGS. 29A-J are waveform diagrams of clock signals and control signalsshowing an improved method of operation and further describing theoperation of the SMI circuitry of FIG. 28;

FIGS. 30A-K are further waveform diagrams of clock signals and controlsignals showing an improved method of operation and further describingthe operation of the SMI circuitry of FIG. 28;

FIG. 31 is a partially schematic and partially block diagram of a systemmanagement interrupt circuitry 1620 embodiment in the PCU of FIG. 18which is interconnected with the PPU of FIG. 11 and MPU of FIG. 9 toform a distributed power management system embodiment of FIGS. 31, 28,33 and 34 interrelated with the computer system embodiment of FIGS. 5-7;

FIG. 32A-L are is a waveform and process of operation diagrams of clocksignals and control signals in circuitry of FIG. 34 in the MPU of FIG.5;

FIG. 33 is a schematic diagram of a power management circuitryembodiment in the MPU supplied with the signals of FIGS. 32 and 34;

FIG. 34 is a further schematic diagram of a power management circuitryembodiment in the MPU for supplying a Resume signal to the circuitry ofFIG. 33;

FIG. 35A-E are is a waveform and process of operation diagrams forselected signals in the circuitry of FIG. 33;

FIG. 36 is a partially block, partially schematic diagram of a clockingand control circuitry embodiment of the MPU of FIG. 5;

FIG. 37 is a block diagram of frequency-determining crystal connectionsand clock lines in the system embodiment of FIG. 5-7;

FIG. 38 is a block diagram showing an interrupt routing system using oneor more PCUs connected to an interrupt routing circuitry embodiment inthe PPU, with outputs for connection to the MPU, detailing the systemembodiment of FIGS. 5-7;

FIGS. 39A-B are waveform and process of operation diagrams for selectedsignals in the circuitry of FIG. 38;

FIG. 40 is a process of operation diagram for fair rotation inarbitration;

FIG. 41 is a more detailed process of operation diagram for arbitrationby the arbiter 906 of the PPU of FIG. 11;

FIG. 42 is a more detailed block diagram of a fast internal PPU bus 904with parallel port 938 embodiment of the PPU of FIG.

FIG. 43 is a more detailed block diagram of interrupt routing circuitryin the PPU of FIG. 38;

FIG. 44 is a more detailed block diagram each interrupt controller blockof FIG. 43;

FIG. 45 is a flow diagram of a process or method of operation of thepreferred embodiment system of FIGS. 5-7;

FIG. 46 is a flow diagram of a process or method of operation for powermanagement adjustment of a TONTOFF register of FIG. 27 in the preferredembodiment system of FIGS. 5-7;

FIG. 47 is a block diagram of a system activity timer embodimentalternative to the embodiment of FIG. 25;

FIG. 48 is a block diagram of a keyboard polling monitor circuitembodiment for use in the SMI circuit embodiment of FIG. 28;

FIG. 49 is a block diagram of an adaptive CPU clock control system andmethod for power management;

FIG. 50 is a schematic diagram of a system environment sensing circuit;

FIG. 51 is a block diagram of power supply connections for a system ofFIGS. 5-7;

FIG. 52 is a partially block, partially schematic diagram of a powersupply circuit in the system of FIGS. 6, 8, 20 and 21;

FIG. 53 is a block diagram of a temperature sensing and control circuitembodiment for implementation in FPGA 124 of FIG. 6;

FIG. 54 is a block diagram of another temperature sensing and controlcircuit embodiment for implementation in FPGA 124 of FIG. 6;

FIG. 55 is a schematic diagram of a circuitry embodiment for reducingpower dissipation at a boundary between differing-voltage areas of thePPU also shown in FIGS. 6, 11, 12, and 20-22;

FIG. 56 is a pin diagram for a 208 pin PQFP package used for the MPU andthe PPU, the pin assignments tabulated for each chip in the DetailedDescription;

FIG. 57 is a pin diagram for a 208 pin PQFP package used for the cardinterface MCU and related to operational regions of the MCU, the pinassignments being tabulated for it in the Detailed Description;

FIGS. 58A-C are diagrams showing a sequence of cost function graphs in amethod of determining a preferred system embodiment for FIGS. 5-7 andFIG. 8;

FIG. 59 is a snooping embodiment for an improved system combination ofPPU and keyboard controller of FIG. 6;

FIG. 60 is an audio circuit embodiment for timer control of audio outputin the PPU of FIG. 11;

FIG. 62 is a plan view of a segmented power conductor plane in theprinted circuit board of FIG. 8 for selectively supplying differentsupply voltages to different segments of the board;

FIG. 61 is an electrical schematic of current sensors connected to thesegments in the segmented power conductor plane of FIG. 62 forconnection to power management circuitry of the system of FIGS. 5-7;

FIG. 63 is another embodiment of power circuitry for use in FIG. 21;

FIG. 64 is a block diagram of a bus interface circuitry embodiment in adocking station embodiment of FIG. 3;

FIG. 65 is a block diagram of an alternative bus interface circuitryembodiment in a docking station embodiment of FIG. 3;

FIG. 66 is a schematic diagram of a further dual VCC power-reducingcircuitry embodiment described above with FIG. 55;

FIG. 67 is a pictorial diagram of two wireless notebook computers withvideoteleconferencing capability and battery platforms;

FIG. 68 is a block diagram of each of the notebooks of FIG. 67 with apartially pictorial partially schematic diagram of the connection to abattery platform;

FIG. 69 is a block diagram of alternative circuits and connections for anotebook computer and docking station system;

FIG. 70 is a more detailed block diagram of sideband signalling circuitsand methods used in the system of FIG. 69; and

FIGS. 71A-D are waveforms for different operational cases of thesideband signalling circuits and methods of FIG. 70.

Corresponding numerals and symbols in the different figures refer tocorresponding parts unless otherwise indicated.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

In FIG. 1 a notebook-computer-and-docking-station system 5 has aninsertable or dockable notebook computer 6 shown being inserted along apath of bold arrows into a docking station 7. A CRT (cathode ray tube)display 8, a keyboard 9 and a mouse 10 are respectively connected tomating connectors on a rear panel of docking station 7. Docking station7 has illustratively four storage access drives, for example: 5.25 inchfloppy disk drive 11, 3.5 inch floppy disk drive 12, a CD (compact disk)drive 13 and an additional floppy or CD drive 14.

Docking station 7 has a docking compartment 15 into which notebookcomputer 6 inserts securely against internal rear electrical connectors.Docking compartment 15 in this embodiment accepts manual insertion ofnotebook computer 6 along lateral guideways 16 and 17 using a minimum ofmechanical elements to achieve advantageous economy in cost of thephysical docking. A horizontal surface of guideway brackets or ahorizontal panel as shown provide physical support for notebook computer6. In an alternative embodiment, a motorized insertion mechanismassociated with docking compartment 15 holds, rearwardly moves and seatsnotebook computer 6 against either rear electrical connectors, lateralconnectors or both.

Docking station 7 in this embodiment occupies a volume V=LWH equal tothe product of the length L, width W and height H of the form of arectangular solid. Notebook computer 6 also has a form of a rectangularsolid with volume v=l w h equal to the product of its own length 1,width w, and height h. The docking station 7 in this embodimentadvantageously is proportioned so that the width w of the notebook 6exceeds at least 75% and preferably 85% of the width W of the dockingstation. In this way, the room left for keyboard 9 and user work spaceto the front of keyboard 9 is advantageously sufficient to make dockingstation 7 as convenient to locate as many conventional desktopcomputers. Drives are stacked in pairs 11, 12 and 13,14 providing extraergonomically desirable height (user head position level, low glare) forsupporting display 8, reduced length L, and efficient use of volume V.The weight distribution of the docking station 7 suits it for locationon a desktop as shown, or for tower positioning with docking station 7resting on its right side-panel. In either position, the drives 11,12and 13,14 are suitable as shown, or alternatively are mounted with thedocking compartment 15 located centrally between drives 11 and 13 ontop, and drives 12 and 14 on the bottom.

Notebook computer 6 has slits 18 for advantageous lateral ventilationboth in open air, and in a forced air ventilation environment of dockingstation 7. Notebook computer 6 features front-facing slots of a 3.5 inchfloppy disk drive 19 and a card connector 20 (e.g. for flash memory,modem or other insertable cards). These slots are accessible even whenthe notebook computer 6 is docked.

A display panel 21 combined with a high-impact back panel is hingeablymounted rearward on a high-impact mounting base 22. Looking to the leftin FIG. 1 is an identical but distinct notebook computer unit 6'. (Foreconomy of notation, additional numerals on notebook unit 6' are notprimed.)

Notebook unit 6' has display panel 21 raised to operating positionrelative to base 22 in the portable environment. A 3.5 inch floppydiskette 23 and a flash memory card 24 are shown near their respectiveinsertion slits 19 and 20. A keyboard 25 mounts forwardly on base 22. Tothe rear of keyboard 25, and between keyboard 25 and display panel 21,lie (in order from right to left) a recessed trackball 26 in a recess27, an ON/OFF switch 28, ventilation slits 29, a loudspeaker 30 beneatha protective grille, further ventilation slits 31, and a SUSPEND/RESUMEswitch 32.

A physical protuberance or stud 33 is molded integral with display panel21 or affixed thereon, near a hinge so that when the display panel 21 isclosed against base 22, the stud 33 impinges against SUSPEND/RESUMEswitch 32 thereby putting the computer 6' in a Suspend mode whereby verylittle power is consumed. Then when the panel 21 is reopened, thecomputer resumes almost immediately with the current application programwithout rebooting. ON/OFF switch 28 has no stud associated with it, sothat the user has the manual option to turn the notebook computer on oroff and to reboot when desired.

In still further features, notebook computers 6 and 6' have a displaybrightness (e.g. backlighting) adjustment control 34 mounted low on theright side of panel 21. An optional power supply 35 is powered from acommercial power source to which an AC plug 36 connects. Power supply 35in turn supplies battery recharge and supply voltages via a rear powerconnector 37 to notebook computer 6'.

An infrared (IR) emitter/detector assembly 38 on notebook computer 6provides two-way communication with a corresponding infraredemitter/detector assembly on the back of notebook computer 6'. The twocomputers 6 and 6' suitably communicate directly to one another when twousers are positioned opposite one another or otherwise such that thecomputers 6 and 6' have the IR assemblies in line-of-sight. When the twocomputers 6 and 6' are side-by-side, they still advantageouslycommunicate by reflection from an IR-reflective surface 39, such as thewall of a conference room or side-panel of an overhead projector unit.

Docking station 7 has an AC power plug 40 connected to energize thedocking station circuitry as well as that of notebook computer 6 whenthe latter is inserted into docking compartment 15. An AC Power On/Offswitch 41 is manually actuated by the user on the upper right frontpanel of docking station 7 in FIG. 1.

Turning now to FIG. 2A, notebook computer 6 is shown inserted against apower connector 45 of docking station 7 in a right profile view of theassembly. A hard disk drive HDD and a power supply P.S. are visible inthe right profile view and in the plan view of FIGS. 2A and 2B. Aventilation fan 46 efficiently, quietly and with low electromagneticinterference, draws a lateral air flow across a Docking PCB (PrintedCircuit Board) of the docking station, as well as through the notebookcomputer 6 having its own printed circuit board. The ventilation flowcontinues through the ventilation holes of power supply P.S. whereuponheated air is exhausted by fan 46 broadside and outward from the rearpanel of docking station 7, as shown in the rear elevation detail ofFIG. 2C.

The Docking PCB is supported low to the bottom panel 47 of an enclosureor cabinet of the docking station 7.

As seen from the rear in FIG. 2B, the enclosure has a left bay 48 forhard disk drive HDD and power supply P.S., a wider middle bay 49 havingmass storage drives 11, 12, 13 and 14, and the docking PCB beneath thedocking compartment 15, and then a right bay 50 into which a multimediaboard 51, a video teleconferencing board 52, and other boards ofsubstantial size readily fit from top to bottom of the enclosure.

For convenience and economy, several connectors 55 are physicallymounted and electrically connected to Docking PCB and are physicallyaccessible through a wide aperture in the rear of the enclosure. Asshown in rear elevation in FIG. 2C, connectors 55 include a keyboardconnector KBD, a mouse connector MS, a display connector VGA, a PRINTERport, a GAME port, a local area network LAN connector, and an RJ-11telephone jack or modem port. A Multimedia connector and ateleconferencing Camera connector are accessible at the rear of theright bay 50.

Emphasizing now the connector arrangement of the notebook computer 6 inrear elevation, a series of these connectors are physically mounted andelectrically connected to an internal printed circuit board of notebookcomputer 6. These connectors are utilized in two docking station andsystem embodiments. In a first embodiment, shown in FIG. 2C, anaperture-defining rectangular edge 58 provides physical access toseveral of the connectors of notebook computer 6, thereby increasing theconnectivity of the combined system 6,7 to peripheral units as discussedin connection with FIG. 3. In a second embodiment, the edge 58 isabsent, and rear connectors of the docking station 7 mate to theseseveral connectors of notebook computer 6 as discussed in connectionwith FIG. 4.

Looking from left to right in rear elevation of FIG. 2C, a power andtelephone connector 45 securely mounted to docking station 7 mates tonotebook computer 6. A telephone connector 59 of notebook 6 is suitablyobscured in the docking compartment 15, but available for use when thenotebook is used in the portable environment. Next a display connector60, a printer parallel port connector 61, and a disk drive connector 62are provided at the back of notebook 6. An optional mouse connector 63and keyboard connector 64 are provided next to IR emitter/detector 38.

At far right rear on notebook 6, a high-speed bus connector 65 matessecurely to a corresponding connector of docking station 7 so thatwide-bandwidth communication, such as by a PCI (Peripheral ComponentInterconnect) type of bus is established between notebook 6 and dockingstation 7. In this way, the notebook 6 contributes importantly to thecomputing power of the combined system 5 comprised of notebook 6 anddocking station 7.

The physical presence of connector 45 on the left rear and connector 65on the right rear also contribute to the security of alignment andseating of the notebook 6 in the docking compartment 15. Widesnap-springs of docking compartment 15 click into shallow matingrecesses of notebook 6, completing the physical security of alignmentand seating of notebook 6 in docking compartment 15.

In FIG. 3, the docking station PCB has a docking station power supply 69supplying supply voltage VCC to the components of the docking station.Power supply 69 has Power On/Off switch 41, power plug 40, and suppliesoperating and battery recharging power along power lines 70 throughconnector 45 to notebook computer 6 which has a printed circuit boardand system 100 of interconnected integrated circuits therein asdescribed more fully in connection with FIGS. 5-7 and the later Figuresof drawing.

In the docking station PCB, a main bus 71, such as a high bandwidth PCIbus, interconnects via buffers 72, connector 65 and buffers 73 with ahigh bandwidth bus 104 in system 100 of notebook 6. A docking stationmicroprocessor unit MPU and memory circuitry 74 preferably providesadvanced superscalar computing power connected to bus 71. A displayinterface 76 receives display data and commands from bus 71 and suppliesvideo data out to CRT display monitor 8. A SCSI interface 77communicates with bus 71 and can receive and send data for any suitableSCSI peripheral. Video input circuit 52 receives video data from a videocamera, video recorder, or camera-recorder (CAMERA) and supplies thisdata to bus 71 for processing. A LAN (Local Area Network) circuit 79provides two-way communication between the docking station 7 and to nother computers having LAN circuits 79.1, . . . 79.n. Token ring,Ethernet, and other advanced LANs are accommodated. An adapter 80 havingan interface chip therein provides communication with any LAN system andplugs into a single same socket regardless of the LAN protocol. Such LANcircuitry is described in coassigned U.S. Pat. 5,299,193 "SignalInterface for Coupling a Network Front End Circuit to a Network AdapterCircuit" issued Mar. 29, 1994 (TI-15009), which is hereby incorporatedherein by reference.

A digital signal processor circuit 81 is connected to bus 71, and isadapted for voice recognition, voice synthesis, image processing, imagerecognition, and telephone communications for teleconferencing andvideoteleconferencing. This circuit 81 suitably uses the TexasInstruments TMS320C25, TMS320C5x, TMS320C3x and TMS320C4x, and/orTMS320C80 (MVP), DSP chips, as described in coassigned U.S. Pats.5,072,418, and 5,099,417, and as to the MVP: coassigned U.S. Pat.5,212,777"SIMD/MIMD Reconfigurable Multi-Processor and Method ofOperation" and coassigned U.S. Pat. 5420809, Ser. No. 08/160,116 filedNov. 30, 1993 Method of Operation a Data Processing Apparatus to ComputeCorrelation all of which patents and application are hereby incorporatedherein by reference.

An interface chip 82, such as a PCI to ISA or EISA interface, connectsbus 71 with a different bus 83 to which a multimedia (MIDI) card 51 isconnected. Card 51 has an input for at least one microphone, musicalinstrument or other sound source 84. Card 51 has an output accommodatingmonaural, stereo, or other sound transducers 85. A SCSI card 86interfaces a document scanner to bus 83.

Still further peripherals compatible with the speed selected for bus 83are connected thereto via an I/O interface 87 which communicates withconnectors for the hard disk drive HDD, the floppy disk drive FDD 11 and12, mouse MS 10, keyboard KBD 9, the CD-ROM drive 13 and a printer suchas a laser printer.

A cursory view of the notebook 6 in FIG. 3 shows that various rearconnectors 60-64 are physically accessible through aperture 58 of FIG. 2allowing still additional peripherals to be optionally connected. Forexample, the display connector 60 is connected to a second monitor 194so that multiple screen viewing is available to the docking stationuser. Connector 59 of notebook 6 is connected through connector 45 tothe RJ-11 telephone connector on the back of docking station 7 so thatthe user does not need to do any more than insert notebook 6 intodocking station 7 (without connecting to the rear of notebook 6) toimmediately obtain functionality from the circuits of notebook 6.

In FIG. 4, an alternative embodiment of docking station PCB has acomprehensive connector 89 to which the connectors 60-64 of notebook 6connect. The connectors 60-64 are not independently accessiblephysically through any aperture 58 of FIG. 2C, by contrast with thesystem of FIG. 3. In this way, when notebook 6 is inserted into dockingcompartment 15, straight-through lines Lrom connectors 60-64 throughconnector 89 pass respectively to display 8, to a PRINTER peripheral, tofloppy disk drive FDD, to mouse MS, and to keyboard KBD. Comprehensiveconnector 89 not only accommodates lines from a bus to bus interface 90to bus buffers 72, cascaded between buses 104 and 71, but also has anHDD path from notebook 6 to the internal hard disk drive HDD of dockingstation 7.

The docking station of FIG. 4 has the printer, FDD, MS, KBD and HDDdisconnected when the notebook 6 is removed, by contrast with thedocking station and notebook system of FIG. 3. However, the dockingstation of FIG. 4 confers a substantial economic cost advantage,especially in situations where the user does not need to use theseperipherals when the notebook 6 is removed. The docking station of FIG.3 confers substantial flexibility and functionality advantages,especially in situations in which the docking station continues to beused by a second user when the notebook user has taken the notebookelsewhere. Docking station 7 is augmented by the data and processingpower available from notebook 6, when the notebook is reinserted intodocking station.

Similar circuit arrangements are marked with corresponding numerals inFIGS. 3 and 4, as to docking station power supply 69, Power On/Offswitch 41, power plug 40, notebook system 100, main bus 71, SCSIinterface 77, video input circuit 52, LAN circuit 79, interface chip 82,multimedia card 51 and SCSI card 86.

Note in FIG. 4 that the SCSI card 77 is connected to the documentSCANNER peripheral, providing advantageously high bandwidth input fromthe scanner to the hard disk drive HDD, floppy disk drive FDD, andmicroprocessor unit MPU 102. CD-ROM is connected by path 95 in FIG. 4 tothe ISA or EISA bus 83 in FIG. 4. Card 97 connected to bus 83 canaccommodate further peripherals or, indeed, a microprocessor board sothat the docking station of FIG. 4 is independently usable by seconduser with the notebook 6 removed.

In either FIG. 3 or 4, the docking station provides A) advantageoussystem expandability through i) ISA/EISA slots, ii) additional HDDspace, CDROM, multimedia with monaural, stereo, quadraphonic and othersound systems, and iii) wide bandwidth PCI bus 71 local bus slots. Afurther area of advantage B) is quick, easy connections to desirednon-portable equipment through i)easier to use, bigger keyboard, ii)bigger, higher quality, CRT display iii) better mouse, printer, and soon. For example, the user merely pushes the notebook 6 into the dockingstation 7 quickly and easily, and all peripherals are then hooked up,without any further user hookup activity. Another area of advantage C)the docking station 7 provides a platform by which users can retrofitISA or EISA add-in cards from a previous installation and obtain theiruse with the notebook 6.

In FIGS. 5, 6, and 7 (which detail the and 4) a block FIGS. 3 and 4) ablock diagram of a first part of a preferred embodiment computer system100 shows in FIG. 5 a single-chip microprocessor unit MPU 102 connectedto a 32-bit bus 104, DRAM (dynamic random access memory) 106, FPU(floating point unit) 108, single-chip peripheral control unit PCU 112,single-chip peripheral processor unit PPU 110 (in FIG.6) and a displaycontroller 114 (in FIG. 7). The FPU 108 of FIG. 5 is suitably eitherimplemented on a separate chip as shown, or integrated onto the samechip as MPU 102 in, for example, a 486DX chip, a 586-levelmicroprocessor, or a superscalar or multi-processor of any type.

In FIG. 6, PPU 110 has terminals connected via an 8-bit bus 116 to akeyboard controller and scan chip KBC/SCAN 118, BIOS (basic input/outputsystem) ROM (read only memory) 120, HDD (hard disk drive) unit 122, andlogic chip 124. PPU 110 has further terminals connected to a floppy diskdrive (FDD) 126, a printer port EPP/ECF 128 to a printer 129, and twoserial input/output ports SIO 130 and 132.

A temperature sensor 140, or heating sensor, is connected via logic 124to the rest of the system to signal temperature levels and cooperate inthe power management of the system.

KBC/SCAN 118 is connected to a computer keyboard 142 and computer mouseinput device 144.

BIOS ROM 120 is addressed by 18-bit addresses by signals from MSB (mostsignificant bits) or LSB (least significant bits) 16-bit halves of bus104 via a multiplexer (MUX) 150. Also BIOS ROM is addressed via 16 bitaddresses built up by successive 8-bit entries from bus 116 in twocascaded 8-bit registers 152 and 154. In this way, separate PPU 110 pinsfor BIOS ROM addresses are advantageously rendered unnecessary.

An audio sound system 160 is connected to PPU 110, thereby providingsound resources for the system 100.

A power switch circuit 170 responsive to a SUSPEND# line from PPU 110controls the supply of power from a power supply 172 to system 100 viathree pairs of lines A, B, C from power switch 170 to supply voltagesVPP and VCC to system 100. Power supply 172 is energized by anelectrical battery B1 and/or an external power source 174.

A clock switch control circuit 180 (FIG. 5) supplies clock signals forsystem 100 via a line CLK of bus 104.

Returning to FIG. 5, 4 banks of DRAM 106 are resistively connected toMPU 102 via 13 memory address MA lines, 8 CAS (column address strobe)lines, four RAS (row address strobe) lines, and a WE (write enable)line. 32 memory data MD lines provide a path for data to and from DRAM106 between MPU 102 and DRAM 106.

A frequency-determining quartz crystal 182 of illustratively 50 MHz(MegaHertz) is connected to MPU 102. A 32 KHz (kiloHertz) outputterminal from PPU 110 is connected resistively to display controller114.

In FIG. 7, display controller 114 is connected directly to an LCD(liquid crystal display) or active matrix display of monochrome or fullcolor construction. Display controller 114 is connected via a CRT(cathode ray tube) interface (I/F) 192 to a CRT computer monitor 194. Ablanking adjustment control 196 is connected to display controller 114.A frame buffer 202 is connected to display controller 114 via address,data and control lines. Two sections A and B of display DRAM 204 and 206are also connected to display controller 114 via their own address, dataand control lines.

Additional bus master devices 210, such as LAN (local area network) andSCSI (Small Computer System Interface) are connected to bus 104 insystem 100. Also, slave devices 220 connect to bus 104.

FIG. 8 is a plan view of a preferred embodiment apparatus having amultiple layer (e.g. 10-layer) printed wiring board 302 and electroniccomponents of the computer system 100 of FIGS. 5-7. FIG. 8 shows acomponent side of printed wiring board 302, while a solder side of board302 lies opposite (not shown) from the component side. Arranged atvertices of a centrally located quadrilateral 303, and interiorlydisposed on the component side of board 302, are the MPU 102, PPU 110,PCU 112 and video, or display, controller 114. All these componentdevices 102, 110, 112 and 114 are on a high speed bus 104, and becausethe quadrilateral affords an arrangement whereby these devices arelocated very close to each other, the high speed bus 104 isadvantageously made physically small and compact both for small physicalsize and low electromagnetic interference due to small electrical size.Near the PCU 112 and near a corner 304 of board 302 lies a PCMCIA card,such as flash memory card, connector 306.

At the system level, system 100 as implemented in the embodiment of FIG.8 has a main microprocessor integrated circuit 102, a card interfaceintegrated circuit 112, a peripheral processor integrated circuit 110, adisplay controller integrated circuit 114, and a bus 104 on the printedwiring board interconnecting each of the integrated circuits 102, 112,110, and 114. The integrated circuits 102, 112, 110 and 114 establishcorners of a quadrilateral 303 bounding the bus 104. Further providedare a plurality of external bus connectors disposed in parallel outsidequadrilateral 303 and connected to bus 104. A clock chip AC244 (180) isapproximately centrally located inside quadrilateral 303 and connectedvia approximately equal-length lines to each of the integrated circuits102, 112, 110 and 114 thereby minimizing clock skew.

Four long DRAM 106 SIMM (single inline memory module) socket connectorsfor banks 0-3 lie parallel to each other, parallel to a short side 308of board 302, and perpendicular to the connector 306. FPU 108 is locatedadjacent to one of the DRAM connectors near the MPU 102. SIMM socketsfor the DRAMs provide a direct path for the wiring traces on the printedwiring board 302.

Along a longer side 310 of board 302 lie LED connectors D5 and D6 and aloudspeaker connector J33. Next to the holder for battery B1 areconnectors J17 for mouse 144 and J18 for keyboard 142. A power supplyunit 172 located on the edge of side 310 lies near a corner 312diagonally opposite corner 304.

A second short side 314 lies opposite side 308 of board 302. At the edgeof side 314 are located two power connectors J36 and J37, a serialconnector J22 and a parallel port connector J38 designated "Zippy."Looking interiorly, between side 314 and PPU 110 and parallel to shortside 314 are a floppy disk drive connector J19 located closely parallelto a hard disk drive connector J21.

A second long side 316 lies opposite side 310 of board 302. At the edgeof side 316 and centrally located are a 15 pin connector J11 parallel toa 20×2 pin header J12. A video connector J13 lies next to J12 belowquadrilateral 303.

Between video controller 114 and PCU 112 lie three TMS45160 chipsdisposed parallel to each other and to side 316 and substantiallyparallel to the side of quadrilateral 303 defined by vertices 114 and112. Next to video controller 114 outside quadrilateral 303 lie threebus 104 connectors J14, J15, J16 parallel to each other and to long side316.

FPGA 124 is located above PPU 110 between PPU 110 and side 310 nearpower supply 172.

A DOS-compatible static 486 core in MPU 102 allows on-the-flyclock-scale and clock-stop operation to conserve battery power. Thespecial clocking scheme allows optional clock stopping betweenkeystrokes. Low voltage operation such as 3.3 volts or less, coupledwith power management, provides the capability to achieve low systembattery power consumption. Bus 104 is a high speed high bandwidth bus toimprove data transfers of bandwidth-intensive I/O devices such as video.Electrical noise is minimized by this embodiment which has shortconductor trace lengths and direct point-to-point clock traces. Eachclock trace has a series or parallel termination to prevent undesirablereflections. An economical 74LS244 clock driver 180 is provided in theinterior of quadrilateral 303. Placement of that clock driver 180 issuch that the length of the clock traces therefrom to each chip 110,102, 114 and 112 are approximately equal, advantageously minimizingclock skew.

Integrated card controller PCU 112 can be configured to support aportable peripheral bus such as PCMCIA (Personal Computer Memory CardInternational Association), for example. The connector 306 near corner304 has one card insertion level in a plane on the top side of board 302and a second card insertion level in a plane on the underside of board302.

Single 8-bit ROM 120 support allows for integration of the system BIOSand video BIOS into the same device to reduce motherboard real estateand reduce cost. MPU 102, PPU 110 and PCU 112 are highly integrated intothree 208 pin PQFP devices (see FIG. 58 later hereinbelow) which reducesboard space and reduces active battery power consumption by integratingall CPU and system logic.

In other embodiments, the PPU 110 and PCU 112 are integrated togetherinto one device. In still other embodiments the MPU 102, PPU 110 and PCU112 are integrated into only one single-chip device. However, the threechip embodiment shown, with its substantially equal pin numbers,provides remarkable economy and board layout convenience.

In the three-chip embodiment illustrated in FIGS. 5-7, the chips aremanufactured using submicron process technology to illustrativelyprovide operation up to 66 MHz and higher at 3.3 volts while keepingpower consumption and heat dissipation remarkably low.

Returning to FIG. 8, physical strength and reasonable rigidity withoutfragility are provided by the relatively small size of board 302.Additional mounting holes near connectors for bus 104 are provided.Board 302 is firmly mounted with screws, bolts, rivets or other mountingelements in an enclosure 325 associated with or comprised by base 22 ofFIG. 1. When an external connection to bus 104 is made, such as in adocking station or other environment, the mounting elements in theadditional mounting holes advantageously provide substantialload-bearing support strength for improved reliability.

In FIG. 9 microprocessor unit (MPU) 102 comprises a preferred embodimentdevice illustrated in block diagram form. MPU 102 integrates a 486-classCPU (central processing unit) 701 which has a CPU core 702, an 8K-bytewrite-through 32-bit instruction/data cache 704, and a clock, PLL(phase-lock loop), and control circuit 706. CPU core 702 is described inthe TI 486 Microprocessor: Reference Guide, 1993, which is herebyincorporated herein by reference. Cache 704 is two-way set associativeand is organized as 1024 sets each containing 2 lines of 4 bytes each.The cache contributes to the overall performance by quickly supplyinginstructions and data to an internal execution pipeline.

A power management block 708 provides a dramatic reduction in currentconsumption when the microprocessor MPU 102 is in standby mode. Standbymode is entered either by a hardware action in unit 920 of PPU 110 or bya software initiated action. Standby mode allows for CPU clockmodulation, thus reducing power consumption. MPU power consumption canbe further reduced by generating suspend mode and stopping the externalclock input. The MPU 102 is suitably a static device wherein no internaldata is lost when the clock input is stopped or clock-modulated byturning the clock off and on repeatedly. In one preferred embodiment,without suggesting any limitation in the broad range of embodiments, thecore is a three volt, 0.8 micron integrated circuit having clockoperation at 50 or 66 MHz., with clock doubling.

Core 702 has a system-management mode with an additional interrupt and aseparate address space that is suitably used for system power managementor software transparent emulation of I/O (input/output) peripherals.This separate address space is also accessible by the operating systemor applications. The system management mode is entered using a systemmanagement interrupt which has a higher priority than any otherinterrupt and is maskable. While running in the separate address space,the system management interrupt routine advantageously executes withoutinterfering with the operating system or application programs. Afterreception of the system management interrupt, portions of the CPU areautomatically saved, system management mode is entered and programexecution begins in the separate address space. System management modememory mapping into main DRAM memory is supported.

The MPU 102 has interface logic 710 which communicates via externalFPU/IF terminals to FPU 108 when the latter is present.

System configuration registers 712 are accessible via a CPU local bus714. Bus 714 is connected to CPU 701, to a bus bridge circuit 716, andto a DRAM memory controller (MCU) 718. Registers 712 also arebidirectionally connected to the bus bridge circuit 716 via line 722.

DRAM memory controller 718 is connected to system configurationregisters 712 via line 721 and receives signals via a line 724 from busbridge 716. DRAM memory controller 718 supplies DRAM addresses and DRAMcontrol signals to external terminals of single-chip MPU 102. DRAMmemory controller 718 is connected by handshake line 727 to powermanagement circuit 708, which circuit 708 is also connected by line 726to bus bridge 716 and by line 728 to clock, phase lock loop and controlcircuit 706.

A data circuit 720 provides a data router and data buffers. DRAM memorycontroller 718 supplies signals to circuit 720 via line 732. Datacircuit 720 also bidirectionally communicates with bus bridge 716 vialine 730. Data circuit 720 reads and writes DRAM data to externalterminals on data bus 734. Main bus 104 connects via terminals to MPU102 and connects via paths 736 and 738 to data circuit 720 and busbridge 716 respectively. Data circuit 720 includes two-level posted DRAMwrite buffers, an integrated four-level DRAM refresh queue, and providesfor three programmable write-protection regions.

DRAM memory controller 718 supports up to 256 megabytes or more of DRAMmemory with up to four or more 32-bit banks without external buffering.For example, DRAMS of 256K, 512K, 1M, 2M, 4M, 8M, and 16M asymmetric andsymmetric DRAMS and up to 64M and higher DRAMS are readily supported.Shadowed RAM is supported. Additionally, the memory interface bufferscan be programmed to operate at different operating voltages such as 3.3or 5.0 volts for different types of DRAMS. The DRAM memory controller718 is programmable to support different access times such 60 or 80nanoseconds (ns). For example, 60 ns. is quite advantageous at 50 and 66MHz clock speeds at 3.3 v. Varous refresh modes are programmablysupported, such as slow, self, suspend, and CAS-before-RAS refresh.Maximum memory throughput occurs because DRAM parameters are driven offthe internal high-speed 50/66 MHz. CPU clock to improve resolution, thustaking full advantage of the integration of the DRAM controller.

The bus bridge 716 acts as an integrated interface which is madecompliant with whatever suitable specification is desired of bus 104.Bus bridge 716 advantageously acts, for example, as a bus master whenthere is a MPU 102 initiated transfer between the CPU and bus 104, andas a target for transfers initiated from bus 104.

A bus-quiet mode advantageously supports power management. The bus-quietmode is used to inhibit cycles on bus 104 when the CPU is accessing theDRAM 106 or internal cache 704. Put another way, bus quieting reducessystem power consumption by toggling the data/address bus 104 only onbus transfers. Bus quieting is not only implemented on MCU 718 but alsoPPU 110 bus bridge 902 and XD/IDE block 934. All signals, buses and pinsare made to change state only when they need to. For example, each databus flip-flop holds its state until the next change of state.

As thus described, MPU 102 integrates in a single chip a 486-class CPU,a DRAM controller, and a bus interface in any suitable integratedcircuit package, of which one example is 208 pin PQFP (plastic quad flatpack). PPU 110 and PCU 112 also partition system functionality intorespective single-chip solutions which can have the same type of packageas the MPU 102, such as a plastic package. These latter two chips caneven be pinned out in a preferred embodiment from the same 208 pin PQFPpackage type.

In FIG. 10 a preferred embodiment layout for MPU 102 has an improvedtopography wherein MPU 102 is realized as an integrated circuit die witha single substrate 802 with approximately 1:1 ratio of side lengths.Various circuit regions or blocks are fabricated on substrate 802 by aCMOS (complementary metal oxide semiconductor) process. Other processessuch as BiCMOS (bipolar CMOS) can also be used.

The 486 CPU core 702 is located in one corner of the die to providemaximum accessibility pin-out with short conductor length to bond pads804 on the nearby margins forming a right angle at the corner 806 of thesubstrate 802. Cache 704 lies closely adjacent to CPU core 702 for highspeed CPU access to the cache. The memory controller 718 MCU is laid outtogether in an approximately rectangular block of circuitry lying alonga strip parallel to cache 704, and perpendicular to microcode ROM andcore 702 along substantially most of an edge of the chip 802 opposite toan edge occupied by cache 704. In this way cache 704 and MCU 718 bracketcore 702.

On a side 818 opposite microcode ROM of core 702 lies bus bridge 716laid out in a long strip parallel and stretching most of the length ofside 818. Advantageously, the long length of this bus interface 820provides physical width accessibility to the numerous terminals forconnection to the wide bus 104 of system 100 of FIGS. 3-7.

In FIG. 11 PPU 110 provides a single-chip solution that has numerouson-chip blocks on chip 901.

First is a bus interface 902 to interface from external bus 104 to anon-chip bus 904. Bus interface 902 is compatible with bus 104externally, and is at the same time also compatible with bus 904 as afast internal bus for integration of several peripherals describedhereinbelow. For example, the peripherals in various embodimentssuitably provide peripheral functions compatible with the IBM-compatible"AT" computers, or compatible with Apple "Macintosh" computers orperipherals having any desired functionality and operational definitionas the skilled worker establishes. Bus interface 902 has advantageouslyshort bus 104 ownership when mastering to minimize overall system 100latency. Bus interface 902 provides fast DMA (direct memory access)transfers from internal I/O devices to agents (circuits) on bus 104.

Bus interface 902 performs a disconnection with retry operation for slowinternal accesses to reduce the latency still further. Illustrative bus104 frequency is 33 MHz. at either 5 volts or 3.3 volts, although otherlower or higher frequencies and voltages are also suitably establishedin other embodiments. In the embodiment of FIG. 11 the internal bus 904is suitably clocked at half or a quarter of the bus 104 frequency, andhigher or lower frequency relationships are also contemplated.

A bus arbiter 906 on-chip provides arbitration of bus 104 for the MPU102 of FIG. 5, PPU 110 of FIG. 6, and two external bus masters 210 ofFIG. 7. PPU 110 acts as a bus 104 bus master during DMA cycles fortransfers between bus 104 and a DMA peripheral 910.

One preferred embodiment provides more peripherals that are compatiblewith the "PC-AT" architecture. Since the bus 904 provides an on-chipcommon connection to all of these on-chip peripherals, their speed andother electrical performance are enhanced. For example, two DMAcontrollers 910 control the DMA transfers through bus interface 902. InPPU 110 DMA controllers 910 are connected to bus 904 and separately alsoto both bus arbiter 906 and bus interface 902 via path 911. DMAcontrollers 910 also pin out externally to four pins from bond pads 912on chip 901. Two interrupt controllers 914 provide channels individuallyprogrammable to level-triggered or edge-triggered mode. Also ininterrupt controllers 914 is an interrupt router that routes an externalinterrupt from bus 104 or an interrupt from PCU 112 to asoftware-selectable interrupt channel. In PPU 110 interrupt controllers914 and a timer/counter 916 connect to bus 104 and also pin outexternally to 9 pins and 2 pins respectively. An RTC (real time clock)circuit block 918 has an integrated low-power 32 kHz. oscillator and a128 byte CMOS SRAM (static RAM). Examples of some features and circuitrywhich are useful in DMA controllers 910, interrupt controllers 914,timer-counter 916 and RTC circuit 918 are found, respectively, in acommercially available 8237, 8259, 8254 and MC146818 device togetherwith improvements as described herein. It is also contemplated thatstill other peripherals be provided on-chip for system purposes asdesired.

A power management block 920 has a battery powered first section 920Afor operation whenever the system 100 is energized, and a section 920Bwhich is battery powered at all times. Power management block 920provides clock control for CPU 702 even without a system managementinterrupt. Mixed voltage (e.g., 3.3v/5v) support is provided as a powermanagement function.

Power management block 920 includes system activity timers named theSTANDBY timer and the SUSPEND timer which monitor bus 104 activity viaDEVSEL# signal, display frame buffer (e.g., VGA) activity (seecontroller 114 and frame buffer 202), DMA requests, serial port 130interrupts and chip selects via a COM1 signal, parallel-port 128interrupts and chip select via a LPT1 signal, hard disk controller 122interrupts and chip select, floppy disk controller 126 interrupts andchip select, programmable chip select signals PCSO# and PCS1#, and otherinterrupts IRQ9, IRQ10, IRQll and IRQ15. Power management block 920further provides for short term CPU clock speedup timer monitoring ofkeyboard 142 and mouse 144 interrupt requests from KBC/SCAN chip 118, aswell as bus 104 bus master cycle requests, and masked system activitytimer output.

CPU clock masking, or clock-modulation, is provided by power managementblock 920 hardware that includes a programmable register for adjustingthe gate-on-to-gate-off ratio, i.e., a ratio of clock time on to clocktime off.

A bidirectional system management interrupt handshaking protocol issupported by power management block 920. Also, six power managementtraps are provided for IDE block 122, FDD 126, serial port 130 COM1,parallel port 128 LPT1, and the programmable chip selects PCSO# andPCS1#.

Four-bit (16 level) backlight intensity adjustment pulse-widthmodulation (PWM) advantageously results from the operations of powermanagement block 920 in response to intensity control 34 of FIG. 1.

When power management block 920 has caused substantial sections ofPPUllO and the rest of system 102 to be deactivated, reactivation can beinitiated by circuitry in block 920 responsive to an RTC alarm, a modemring, a suspend/resume button, keyboard IRQ (interrupt request), mouseIRQ, ON/OFF button, a card system management interrupt CRDSMI from PCU112, or a low-to-high transition on a battery input BATLOW.

Shadow registers in power management block 920 support saving the fullsystem state to disk.

Bus quieting and I/O leakage current control circuitry are also includedin power management block 920.

Advanced Power Management support is also provided by power managementblock 920.

Further in FIG. 11, a floppy disk controller block 930, digital diskcontroller 932, hard disk interface XD/IDE 934, serial interface blockSIU 936, and a parallel port interface 938 are all coupled to internalbus 904 and to pin externally.

The floppy disk controller block 930 is integrated on-chip in PPU 110 tosupport 3.5 inch drives (720 kB (kilobyte), 1.44 MB (megabyte), and 2.88MB) as well as 5.25 inch drives (360 kB and 1.2 MB). All buffers areintegrated. Floppy disk controller block 930 has circuitry toaccommodate data in several track formats: IBM System 34 format,perpendicular 500 kb/s (kilobits per second) format, and perpendicular1-Mb/s (one megabit per second) format. A data FIFO (first-in-first-out)buffer operates during the execution phase of a read or write command inblock 930. Block 930 also has a 255-step (16 bit) recalibrate commandand function. This floppy disk controller block 930 can be reset bysoftware. It has an integrated floppy data separator with no externalcomponents in this embodiment. Drive interface signals can bemultiplexed to parallel port 938 pins for use with an external drive.

The interface 934 provides a complete IDE hard disk interface logic withhigh speed access. The IDE hard disk is isolated and can be powered offindependently. Also included in interface 934 is a bus interface for XDbus 116 of FIG. 6, which supports BIOS ROM (which can be flash EEPROMelectrically erasable programmable read only memory), provides keyboardcontroller KBC/SCAN connections, has two user-programmable chip selects,and can connect to audio CODEC (coder-decoder).

Further in FIG. 11 a block for miscellaneous control functions isprovided as block 940.

Serial interfaces 936A and 936B each have a 16-byte FIFO for queuing andbuffering the serial data to be transmitted and received, and has aselectable timing reference clock of 1.8461 MHz. or 8 MHz.

Parallel interface 938 has a 16-byte datapath FIFO buffer and providesDMA transfer. Support for fast parallel protocols such as ECP and EPP issuitably provided. More than one floppy disk drive FDD 126.0 and 126.1are suitably accommodated by provision of a multiplexer 939 to mux theoutput of digital floppy disk controller 932 with parallel port 938.When a control signal PIFFDC from configuration registers 1222 of PPU110 causes mux 939 to select floppy disk, then external pins otherwiseutilized by parallel port 938 are suitably used instead for a FDD 126.1.

In FIG. 12 a preferred embodiment layout for PPU 110 has an improvedtopography wherein PPU 110 is realized as an integrated circuit die 901with a single substrate having approximately 1:1 ratio of side lengths.Various circuit regions or blocks are fabricated on die 901 by a CMOS(complementary metal oxide semiconductor) process. Other processes suchas BiCMOS (bipolar CMOS) can also be used.

On a side 1002 lies bus arbiter 906 and bus interface 902 all laid outin a long strip 1004 parallel and stretching most of the length of side1002. Advantageously, the long length of this circuitry strip 1004provides physical width accessibility to numerous terminals forconnection to the wide bus 104 of system 100 of FIGS. 5-7.

Adjacent and perpendicular to circuitry strip 1004, blocks 936, 938 forma column 1006 which occupies more than half of the length of a side1008.

Perpendicular to column 1006 lies a wide strip for floppy diskcontroller 932 and hard disk interface 934 laid out parallel to and onthe opposite side 1010 from side 1002 PCI/AT bus interface strip 1004.The XD bus interface portion of circuit 934 also lies on side 1010.

RTC 918 with its RAM 919 lies at a corner of the die on side 1010 atop acolumn 1012 of PMU 920 circuitry occupying a strip perpendicular to boththe edge 1010 with FDC/IDE I/F and to edge 1002 with bus bridge 1004.Battery powered PMU RTC 920B lies adjacent to RTC 918 in said corner ina 3.3 volt well, or region, distinct from all the rest of chip 901 whichis powered at a different power supply voltage VCC such as 5 volts.

A large, substantially rectangular or square central region of die 901is occupied by the DMA 910, interrupt circuitry 914, timer/counters 916,and dynamic clocking circuitry described elsewhere. The central locationof these circuits minimizes clock skew, and promotes efficient layout offast-AT internal bus 904 around this central region. Not onlyconfiguration registers 1222 but also local block registers areefficiently grouped together in a central block named Registers in FIG.12 between the central block 910, 914, 916 and the strip 1004. Also, bus904 is internally adjacent to and within the surrounding strips 1004,1006, 934, 932, and 1012. The latter strips are advantageously locatednext to the external pins they heavily employ.

In FIG. 13, returning to system level to consider a further importantsystem embodiment utilizing the special chips therein, a computer system400 of a preferred embodiment has an enclosure 402 with a printed wiringboard holding components chosen, configured and combined foradvantageous desk top computer or portable (e.g. notebook) application.MPU 102 is coupled to FPU 108 and additionally coupled to a DRAM memory406. A main bus 104 interconnects MPU 102, PPU 110, VGA/LCD displaycontroller chip 114, PCU 112 and a LAN (local area network) controller410. LAN controller 410 suitably supports either Ethernet protocol viacoax path 412, or token ring protocol via path 414 to stations 400.1,400.2, . . . . 400.n, or both protocols, using TMS380 LAN technologyfrom Texas Instruments Inc.

PPU 110 has flash ROM 120 connected to some terminals thereof. Thisoptional flash BIOS allows user upgradeable BIOS support. At otherterminals is connected a keyboard controller 118 which in turn isconnected to both a keyboard 142 and a mouse 144. PPU 110 is furtherconnected to a hard disk drive 122 and a floppy disk drive 126 withinsertable magnetic floppy disks. PPU 110 further interfaces to aprinter 129.

Display controller chip 420 is externally connected to a CRT 190 oralternatively to a display panel such as one using digital micromirrordevices or field emission device flat panel technology from TexasInstruments Incorporated. PCU 112 is externally connected to flashmemory cards 412. These cards in one embodiment are 3 or 5 volt PCMCIAcards.

A modem 430 is connected to a serial port of the PPU 110 in system 400.Modem 430 connects to the telephone network either by direct connectionby a rear jack on enclosure 402, or by a wireless interface incorporatedin the system. Modem 430 can also be implemented by using a PCMCIA modemcard 432 insertable into card socket 433 for PCU 112. Modem card 432connects to a DAA interface 434 to telephone line 436.

An infrared interface 440 connects to another serial port of the PPU 110and connects to an emitter/detector assembly 38 having emitter LED 452and photodetector diode 454.

BUS 104 in one embodiment can be a PCI (Peripheral ComponentInterconnect) bus which is described in a published PCI Specification2.0 from PCISIG (PCI Special Interest Group).

A power supply 464 for connection to AC power with or without batterybackup provides supply voltage to energize the PPU 110 and the othercircuits in system 400.

In FIGS. 14 and 15 the description turns to further specifics ofcircuits in the PPU 110 embodiment. Bus interface 902 of FIGS. 11 and 14is connected between bus 104 and internal bus 904 of PPU 110. A busmaster 1202 bidirectionally connected via lines 1203 to bus 104 hasstate machines and interface logic used when the arbiter 906 of FIGS. 11and 15 grants control of bus 104. A slave block 1204, bidirectionallyconnected via lines 1205 to bus 104, translates bus cycles externallyinitiated on bus 104. The slave block 1204 translates these bus cyclesto an internal bus controller block 1206 to which slave block 1204 isbidirectionally connected via lines 1207. Slave block 1204 doesnon-posted writes and wait-stated reads. Internal bus controller 1206generates the signals for communication on the internal bus 904 viabidirectional lines 1209.

A data router/buffer 1210 betlatches for data latching between bus 104and internal bus 904 via bidirectional lines 1213 to bus 104 andbidirectional lines 1215 to internal bus 904. Respective controls frominternal bus controller 1206, slave 1204 and bus master 1202 pass viarespective lines 1217, 1219 and 1221 to data router/buffer 1210.Internal bus controller 1206 controls assembly and disassembly of databetween the internal bus 904 and the data router/buffer 1210. RegistersCFG 1222 specify the configuration of interface 902, and receiveinformation from slave 1204 via a line 1225 and are bidirectionallyconnected via lines 1227 to data router/buffer 1210. Bus master 1202 isbidirectionally connected to internal bus controller 1206 via lines1229. Bus master 1202 is bidirectionally connected to slave 1204 vialines 1231. Internal bus controller 1206 provides subtractive decodeDEVSEL# assertion. Address decoding for slave devices connected to theinternal bus 904 is performed by those devices.

In FIG. 15 DMA circuitry in PPU 110 is shown in more detail. Bus arbiter906 receives bus request signals from bus 104 via two pins REQO# andREQ1#, and supplies bus grant signals to bus 104 via two pins GNTO# andGNT1#. Since bus master 1202 in bus interface 902 is on-chip in the PPU110, the arbiter 906 has two more lines REQ2# and GNT2# internallyconnecting to bus master 1202. Arbiter 906 also has an input lineHLDA/MPUREQ# (Hold Acknowledge high, MPU 102 Request low, CPUacknowledges it has gotten off bus 104) and an output line HOLD/MPUGNT#(Hold high/ MPU 102 Grant low, arbiter 906 request to CPU that CPU getoff bus 104). HLDA is a grant of both bus 904 and bus 104 for DMAoperation by DMA controller 910. Internal bus control 1206 supplies abus idle signal IDMAGNT# (internal bus DMA grant, active low) to slaveblock 1204. DMA controller 910 supplies a DMA controller request HREQ toboth the internal bus control 1206 and the slave block 1204 via a line1303. Slave block 1202 acknowledges with signal IHLDA to both DMAcontroller 910 and internal bus control 1206 on a line 1305. Internalbus 904 interconnects internal bus control 1206, DMA controller 910 andfirst and second DMA devices 1310 and 1312. Respective signals and linesare provided for DMA devices 1310, 1312 requests DREQ1, DREQ2 to DMAcontroller 910, and DMA device grants DACK1, DACK2 from DMA controller910 back to DMA devices 1310, 1312. Note that FIGS. 14 and 15 should beread together for both the data and control paths.

In FIG. 16 a BIOS addressing circuit interconnects the PPU 110 of FIG. 6with BIOS flash EEPROM 120 when flash is used. The XD bus interface inPPU 110 is suitably connected to the BIOS ROM 120, keyboard controllerKBC/SCAN 118, and additional devices such as audio codec chip 160.

BIOS flash memory 120 is connected to PPU 120 is thus supplied withaddress bits XA(1:0), a chip select ROMCS#, a read strobe XDRD# and awrite strobe XDWR#. An upper set of 15 address lines are driven onto thebus 104 by PPU 110 while PPU 110 is waiting for data to be returned fromthe BIOS memory 120 with the resulting advantage that no externaladdress latches are required. When BIOS memory 120 is flash, two 8-bitlatches 152 and 154 are used to latch the BIOS address, and a latchenable signal EEACLK is provided from a pin of PPU 110 to clock inputsof both of the latches 152, 154 to clock the latches.

As shown in FIG. 16, the 8-bit XD bus is connected directly to dataterminals of BIOS memory 120 and of data D inputs of 8-bit latch 152.Latch 152 has its Q output lines connected to 8 MSB bits AD(17:10) ofBIOS memory 120, and latch 152 has the same Q output lines alsoconnected to the data D inputs of 8-bit latch 154. Latch 154 has its Qoutput lines connected to 8 LSB bits AD(9:2) of BIOS memory 120. Thus,these latches have an advantageously bus-wide serial structure in theaddressing of BIOS 120.

In FIG. 17 the PPU 110 of FIGS. 6 and 11 is connected with BIOS ROM 120,KBC (Keyboard Controller) 118, and IDE Drive 122. Control and dataconnections and signals provide in FIG. 17 further detail to FIG. 6.

The XD bus 116 of FIGS. 6 and 17 has associated control signals whichare split into respective sections 1501 and 1502 for XD and IDEinterface signals. These sections 1501 and 1502 have separate voltagerails in PPU 110 connected to power supply lines at pins VCC₋₋ XD andVCC₋₋ DK of PPU 110. The structural feature and method of separatevoltage rails in a preferred embodiment provides advantageousflexibility in system configuration. For example, a keyboard controllerKBC/SCAN 118 and BIOS ROM 120, both of 3.3 volt type selected for lowpower consumption, are suitably combined in system 102 with an IDE diskdrive 122 selected to be of 5 volt type for low cost.

Eight outgoing control signal lines 1515 and three incoming controlsignal lines 1517 in FIG. 17 show the PPU 110 pin connections to IDEDrive 122 as further detail to FIG. 6. An eight-bit buffer 1510 (such asa '245 chip) responsive to PPU 110 control line IDEIOR# (and poweredfrom supply voltage VCC) couples the XD bus 116 to the lower eight linesDD(7:0) of IDE drive 122, while the upper 8 lines DD(15:8) are feddirectly from the DD pins of PPU 110.

Six outgoing control signal lines 1523 and two incoming signal lines1521 in FIG. 17 show the PPU 110 pin connections to KBC 118 as furtherdetail to FIG. 6. Chip select and selectable clock signals are providedfor KBC 118, and read/write strobes and 8-bit data signals are analogousto the signals for other XD-bus peripherals of FIG. 17. Address line XA1functions as and connects to input A2 of KBC 118. The XRD# and XWR#signals serve as read and write strobes for both memory and I/O cycles.When ROM chip select ROMCS# is active, XRD# and XWR# are equivalent tothe internal memory read MEMR# and memory write MEMW# signals; for allother accesses, XRD# and XWR# are equivalent to the internal I/O readIOR# and I/O write IOW# signals.

Referring to lines 1531 of FIG. 17, two DMA channels and a programmablechip select PCSO# are available to support a business audio chip such asthe AD1848 commercially available from Analog Devices Inc. A secondprogrammable chip select PCS1# is also available.

When a ROM (and not flash memory) is used to realize BIOS ROM 120,connections are made from PPU 110 as shown in FIG. 17 to the controlpins of ROM 120. A buffer 150 couples 16 lines such as AD(17:2) from bus104 to address inputs A(17:2) of ROM 120. The other AD lines are used tocreate a separate address space for an additional ROM or ROMs in analternative embodiment.

In FIG. 18 the description to turns to the card interface chip PCU 112of FIG. 5. PCU 112 has bus interface 1602 connected to bus 104. Businterface 1602 is further connected to two illustratively identical cardinterface circuits 1610 and 1612 for card slots A and B. Configurationregisters 1616 bidirectionally communicate with bus interface 1602 bylines and supply configuration information CFG to circuits 1610 and 1612and well as to blocks 1620 and 1630 for Interrupt, power managementcircuitry and other logic. Cards are advantageously insertable andremovable while power to PCU 112 is on due to integrated hot insertionand removal buffers in circuits 1610 and 1612. Plural selectable supplyvoltages (e.g., 3.3 v and 5 v) are supported. The card controllergenerates control signals for individual slot power control to connectthe selected supply voltage to each card under software control. In oneembodiment the card controller is made register compatible with acontroller 82365SL DF exchangeable card architecture commerciallyavailable from Intel Corporation. PCU 112 can be replicated on bus 104thereby providing numerous card slots as desired for a particularapplication system.

The pinout of PCU 112 is described in detail elsewhere herein. In brief,the card data path CDATA (A or B) is 16 bits wide. Each circuit 1610 or1612 respectively assembles or concatenates 8-bit or 16-bit cardaccesses from its CDATA lines into 32-bit words onto bus 104 linesAD(31:0) via the bus interface 1602.

Circuit 1620 bidirectionally communicates with circuits 1610 and 1612via lines 1611 and 1613 respectively. Bus interface 1602 has bus 104connections to lines AD(31:0), input controls CTRLIN and output controlsCTRLOUT. Each of circuits 1610 and 1612 has respectively A- andB-designated 26 CADR address lines, 16 bidirectional data lines CDATAand 20 control lines. Bus interface 1602 via a data router circuit 1615connects in parallel to both circuits 1610 and 1612 via 26 ADR addresslines, 32 DATA lines (data is in assembled form) and by lines markedcontrol.

Pins IRQn differ in number n with the particular embodiment of PCU 112.For example, in systems having an externally accessible ISA bus, 10 pinsIRQn are provided in a first embodiment with interrupts routed to theappropriate IRQn line depending on the card function. In systems havingan ISA bus internal to PPU 110 only, only three pins IRQ named CRDAIORQ,CRDBIORQ, CRDSRVRQ are provided in a second embodiment with interruptsrouted by special shadowing in PPU 110 to the appropriate IRQ line amongtypically 10 ISA interrupt lines, depending on the card function. Thesecond embodiment has economic and speed advantages. In a thirdembodiment of PCU 112, ten pins IRQn for routed interrupts muxed withCRDAIORQ, CRDBIORQ, CRDSRVRQ are provided, so that the chip may be usedin either an externally accessible ISA bus environment, or the PPU 110internal bus environment depending on the system manufacturer choicesincorporating the PCU 112. The description of FIGS. 38 and 43 hereinprovides further description of the shadowing circuitry, systems andmethods of this third embodiment.

In FIG. 19 PCU 112 in a preferred embodiment has generally rectangularintegrated circuit blocks fitted together in a layout comprising twocolumnar halves 1705 and 1707 on an approximately 1:1 square die 1710having I/O buffers and small rectangular bond pads 1715 located on anarrow peripheral strip 1720 around the perimeter of the die 1710. Pinreferences 2081 are provided in the lower left corner of FIG. 19.

In FIG. 19, bus interface 1602 has PCI I/O and PCI Controller blocksoriented at upper center in the layout. In the upper left corner liesthe Control circuitry 1620, 1630 with access to the IRQ pins and SMI pinnearby. Configuration Registers 1616 occupy about half the area ofcolumn 1705 and are flanked by Address Decode A and Address Decode Bcircuitry for controllers 1610 and 1612 respectively.

Column 1707 controller 1610 blocks for FIFO A and PCMCIA controller Aoccupy the upper half of column 1707, and controller 1612 blocks forFIFO B and PCMCIA controller B occupy the lower half. The A circuitry inthe upper half is advantageously rotated in orientation by an angle of90 degrees relative to the B circuitry in the lower half to form twoquadrants of circuitry with high bond pad accessibility.

The FIFO A (first-in-first-out buffer) in circuit 1610 of FIG. 19occupies a rectangular region spanning the top of column 1707, and FIFOB lies in the lower right next to the corner at the bottom of column1707. PCMCIA controller block A in controller 1610 lies adjacent to FIFOA. PCMCIA controller block B in controller 1612 lies adjacent to FIFO Band perpendicular in aspect to PCMCIA controller A. In this way,circuits which have many external inputs and outputs like FIG. 18circuits 1602C (AD pins), 1610 (A₋₋ CA and A₋₋ CDATA pins) and 1612 (B₋₋CA and B₋₋ CDATA pins) also have substantial bond pad physicalaccessibility, as shown in FIGS. 19 and 57.

Data router 1615 lies in a narrow peripheral strip adjacent to PCMCIAcontroller A and between FIFOs A and B. Comparing FIGS. 18 and 19, datarouter 1615 advantageously supplies and routes the Controller A and BConfiguration, Address, Control and Data information from block 1602 asintended by the information in Configuration Registers 1616. In FIG. 18block 1615, the interior joinings of A and B lines are representative ofmuxes or other selector and routing logic to complete the informationpaths.

In FIG. 20, PPU 110 power control output pins for hard disk HDDPWR#,floppy disk FDDPWR# and programmable chip select PCSPWR# are connectedto respective MOSFETs (metal oxide semiconductor field effecttransistors) 1822, 1824 and 1826, or any other suitable power controlelements) so that a selected supply voltage such as 3 volts or 5 voltsis controllably applied to or disconnected from the correspondingperipheral HDD 122, FDD 126 and PCS chip such as modem and audio, foradvantageous system power management. In other words, each peripheralhas its own individual supply voltage wherein one peripheral can run ona switchable 5 volts for low cost, and another peripheral can run on aswitchable 3 volts for low power. Another power control output pinSIUPWR# is connected to an RS232EN# control input of a serial port forpower management of the serial port. PPU 110 thus provides importantadvantages of single-chip control of multiple power voltages and furthercombined with a suspend function.

Display chip 114 is suitably a C&T 65530 or Cirrus Logic GD6545 amongcommercially available examples. Display chip 114 when activated, sendsa control voltage VEE₋₋ ON to power supply 172 to cause the supply toprovide contrast voltage VEE to LCD 190. The level of VEE is controlledby VEE ADJ block in response to knob 34 of FIG. 1. Display chip 114 issuitably configured as a PCI-compliant chip with internal PCI interfacecircuitry and configuration registers so that it returns a device selectsignal DEVSEL# to PPU 110 when active. Display chip 114 is connected todirectly send video information to the LCD 190, as well as to send aBL-ON control signal to activate a Back Light Inverter P.S. power supplyto invert a low voltage VDC from supply 172 to hundreds of volts orotherwise as suitable for a fluorescent back light in LCD 190 and supplythe result to LCD 190 responsive to back light adjust BLADJ PWM signalfrom PPU 110.

Graphics and text outputs are also provided by display chip 114 in videoform to display circuitry 192, 194 and 196 of FIG. 7.

MPU 102 is connected to power management circuit section 920A at pinsSMI#, MASKCLK#, 32KHZCLK and SUSPEND#. The latter SUSPEND# line not onlyconnects to MPU 102 and PPU 110 but also connects to and controls aSUSPEND# pin of a power control chip U11 (see FIG. 52 detail) associatedwith PCU 112 and a 5V₋₋ ON pin (also called low-active shutdown SHDN# inFIG. 52) of power supply 172. PCU 112 supplies card system managementinterrupt CRDSMI, as well as three routable interrupt request lines forcard A and card B (CRDAIORQ, CRDBIORQ) and card service requestCRDSRVRQ. Circuitry 124 provides general purpose SMI to the GPSMI pin ofPPU 110.

From a system partitioning point of view, the power management logic hascircuit 920 in PPU 110 as a first integrated circuit on a first chip.MPU 102 has a second power management integrated circuit having thecontrol input SUSPEND# and this second power management integratedcircuit is thus provided on MPU 102 as another chip coupled to the firstintegrated circuit PPU 110. Indeed, The power management circuitry isdistributed not only in PPU 110 as the main center for this function,but also PCU 112 and display controller 114 as well as MPU 102. Thisembodiment thus provides power management improvements locally in eachchip and also globally in the system into which the chips areinterconnected. High speed circuits for clock control (see e.g. FIG. 36)are concentrated in MPU 102 and advantageously partitioned from thelower speed circuits for clock control of PPU 110 (see e.g. MASKCLK and32 KHz. of FIG. 24), thereby also minimizing radio frequencyinterference (RFI) and timing problems.

This embodiment illustrates an example of an improved system arrangementthat has a microcomputer integrated circuit (e.g., 102) having a firstpower management circuit, an interface integrated circuit (e.g. 112)adapted for coupling a memory card to said microcomputer integratedcircuit (102) and having a second power management circuit, a peripheralprocessor integrated circuit (e.g. 110) having a third power managementcircuit coupled to each of the first power management circuitry of saidmicrocomputer integrated circuit and the second power management circuitof the interface integrated circuit, the third power management circuitcontrolling the first and second power management circuits via controllines coupled to each of the first power management circuitry of saidmicrocomputer integrated circuit and the second power management circuitof the display controller integrated circuit. Each of the first, secondand third power management circuits comprises transistors and said thirdpower management circuit has at least four times as many transistors aseach of the first and second power management circuits. Also provided isa display controller integrated circuit having a fourth power managementcircuit coupled to the third power management circuit in the peripheralprocessor integrated circuit.

A card system management interrupt CRDSMI output from PCU 112 isconnected to a corresponding CRDSMI input of PPU 110. PCU 112 I/Orequest outputs for Card A (CRDAIORQ), Card B (CRDBIORQ), and CRDSRVRQare also connected to corresponding inputs of PPU 110.

A general purpose system management line GPSMI is provided between GPSMIpins of FPGA 124 and PPU 110 for FPGA signaling to the PPU.

Display controller chip VGA 114 is enabled by a VEE₋₋ ON control signalfrom power supply 172. A further control signal Back Light On BL-ON# islow-active and controls the on/off state of the back light of LCD 190(Liquid Crystal Display). Backlight systems for a monochrome type of LCDdisplay can contribute 2-3 watts to system 100 power consumption withoutpower management. Thus display power management is important.

When user I/O interfaces such as keyboard, mouse and display are idle,as determined by activity timers, the display can be dimmed or shut off.The keystroke that causes power management mode exit (to bring thedisplay back on or full on) is suitably ignored for user convenience.VGA LCD controllers have an output signal VEE enable used to enable ordisable LCD VEE power and used to generate contrast.

A first method of providing this convenience, for example, comprises afirst step of routing a screen blank status signal (e.g. a VEE enablesignal) to the keyboard controller/scanner KBC 118. Then in a secondstep the KBC BIOS is programmed to ignore or prevent system response toany keystrokes when VEE enable is inactive.

A second alternative method of providing this convenience comprises afirst step of routing the screen blank status signal (e.g. a VEE enablesignal) to a system management interrupt (SMI) input such as GPSMI onPPU 110. A second step generates the SMI when the display is disabled.In a third step, system management software responds to the SMI andsends a command to the KBC 118 to ignore the next keystroke, with thesystem free of any independent data path for VEE enable to KBC 118, andcompatible with use of KBC 118 for additional power managementfunctions. The SMI is further advantageously used by power managementBIOS in determining system activity.

Circuitry 1900 is shown as a block in FIG. 20 and detailed in FIG. 21for control buttons 28 and 32 of FIG. 1 as well as interconnectionsbetween the power supply 172 and PPU 110.

In FIG. 21 power supply 172 is coupled to the PMU 920 of PPU 110 in partof electronic system 100 of FIGS. 5-7. First and second power supplyconnectors or sections 1902 and 1904 are electrically coupled to powermanagement logic circuit 920 to respectively energize first logicsection 920A connected to said first power supply connector 1902 andsecond logic section 920B connected to second power supply connector1904. In this way, PMU second logic section 920B operation isindependent of the first PMU logic section 920A such as when power isavailable at said second power supply connector 1904 and unavailable atsaid first power supply connector 1902. This condition happens whencontrol signal VCCON is cleared by section 920B, and VCCON causes powersupply 172 to turn power voltage VCC on or off. Power management logiccircuit 920 has a power input VCC for section 920A and another powerinput RTCPWR for section 920B. A common supply rail is provided forground connection.

PPU 110 has control inputs PWRGD5 (to section 920A) and PWRGD3 (tosection 920B) respectively connected to power supply 172. Active PWRGD5and PWRGD3 indicate available 5 volt and 3 volt power respectively fromthe supply 172.

Further PPU 110 pins for RTC section 920B provide a battery low warninginput BATLOW from any appropriate battery sensor, an ON Button 28 inputONBTN, and a Suspend/Resume button 32 input SRBTN.

In FIG. 21 a resistor 1912 is connected between power input RTCPWR andcontrol input RTCRCLR, and a capacitor 1914 is connected between controlinput RTCRCLR and ground GND, thus providing a power-on reset functionfor RTC section 920B which has a state machine 2030 of FIG. 22 operativeas an internal logic circuit adapted to go to a particular state inresponse to a voltage on the RTCRCLR control input indicative of a lackor failure of power.

The FIG. 21 power supply 172 which has a 3 volt battery and a 5 voltsupply circuit also operable from residential or office wall socket, isconnected to first power supply connector 1902. Power supply 172provides respective system-wide reset signals designated PWRGD3 andPWRGD5 for all devices as may be desired to utilize such reset signalson the 3.3 volt and 5 volt power planes of FIG. 62 circuit board 302respectively.

A second power supply such as a temporary power cell (e.g., coin cell)1930 is connected to a further power supply connector 1932. Apower-channeling circuit 1936 is connected to both supply connectors1904 and 1932 and to power input RTCPWR of PPU 110. Power-channelingcircuit 1936 has a pair of diodes 1942 and 1944 connected together attheir cathodes and therefrom to power input RTCPWR. Diodes 1942 and 1944also have their anodes connected separately to connector 1904 for supply172 and to connector 1932 via a drain-limiting resistor 1946 for coincell 1930.

Power management logic circuit section 920B has logic (in circuitry 2010of FIG. 22 for system on/off responsive to a first control input ONBTN,and ON/OFF switch 28 of FIG. 21 coupled to input ONBTN via a contactbounce suppressor having a parallel combination of a resistor 1954 andcapacitor 1956. Further logic in circuitry 2010 of FIG. 22 provides forsuspension and resumption of operation responsive to a control inputSRBTN, and SUSPEND/RESUME switch 32 of FIG. 21 is coupled to input SRBTNvia its own contact bounce suppressor having a parallel combination of aresistor 1964 and capacitor 1966. The outputs of Button Response circuit2010 are ON Button Trigger pulse OBTNTGR and Suspend/Resume ButtonTrigger pulse SRBTNTGR.

A MOSFET transistor 1970 is connected between both switches 28 and 32and the ground supply rail. The transistor 1970 is controlled by avoltage at a battery-dead terminal BATDEAD# (see connector 1904) todisconnect both switches 28 and 32 from the ground supply rail when thevoltage at the battery-dead terminal is indicative of a battery-deadcondition.

Further in connection with BATDE between BATDEAD# is a diode 1972connected between BATDEAD# terminal of supply 172 and pin PWRGD3 of PMU920, to inactivate PWRGD3 at PMU 920 when the battery is dead (BATDEAD#low). A resistor 1974 is provided between the PWRGD3 terminal of PMU 920and PWRGD3 terminal of supply 172, advantageously limiting current fromPWRGD3 of supply 172 in case it is high when BATDEAD# is low andoverriding the PWRGD3 supply 172 signal.

A leakage control circuit 1975 is implemented on-chip in PMU 920, toeliminate a leakage current which flows through the ONBTN AND SRBTNbutton inputs of the chip 110. Nominally ten microampere (10 uA) pull-upp-channel FET transistors 1976-ON and 1976-SR are respectively connectedbetween power conductor RTCPWR (also called VCC₋₋ RTC) and the on buttoninput pin ONBTN or the SR button input pin SRBTN. Nominally one hundredmicroampere (100 uA) pull-down n-channel FET transistors 1978-ON and1978-SR are respectively connected between the ground or common powerconductor and the on button input pin ONBTN or the SR button input pinSRBTN.

A NAND gate 1979 has its output connected to the gates of bothtransistors 1978-ON and 1978-SR. NAND gate 1979 further has its outputconnected to the input of an inverter 1977. The output of inverter 1977is connected to the gates of both pull-up transistors 1976-ON and1976-SR.

NAND gate 1979 is fed by a programmable input bit INBLRES and qualifiedby inputs for signal SUSPEND and low battery BATLOW. NAND GATE 1979determines whether the pull-ups 1986-ON and 1986-SR should be disabledthrough inverter 1977 connected between the output of NAND gate 1979 andthe gates of those pull-ups. If the INBLRES bit is reset to zero (0),the pull-ups are enabled; if it is set to one (1), then the pull-ups aredisabled when the system is in either the 5V SUSPEND or 0V-SUSPENDstates of below-described state machine 2030, provided the BATLOW inputis active. The output of NAND gate 1979 is also connected to the gatesof both of the pull-downs 1978-ON and 1978-SR. In this way the inputsONBTN and SRBTN to a Button Response Circuit 2010 of FIG. 22 are free ofleakage, thereby increasing battery life of system 100.

Circuitry 1980 of FIG. 21 advantageously recognizes that even when thelid of notebook 6 of FIG. 1 is down, thus pressing suspend button 32,the notebook 6 should be on and/or resumed if it is inserted intodocking station 7 and docking station power is on.

In FIG. 21, notebook 6 upon insertion makes connection via connector 45of FIG. 3 or connector 89 of FIG. 4, as the case may be. A grounded pinGND of this connector 45 mates to a notebook pin that is otherwisepulled up by a resistor 1981 connected to notebook VCC (indicated as atop-hat on the resistor 1981). Insertion causes pin GND to pull down thenotebook pin and thus the emitter of an NPN bipolar transistor 1982, aswell as an input of an inverter 1982 described later hereinbelow.

Also upon insertion, a VCC pin of connector 45 of docking station 7places voltage across a pull-down resistor 1984 in notebook 6. Thisvoltage causes current flow through a resistor 1985 to the base oftransistor 1982, turning transistor 1982 on, and forcing the bases of apair of PNP bipolar transistors 1986 and 1990-SR and their base pullupresistor 1987 low via the collector of transistor 1982. The collector oftransistor 1982 is suitably made available for sensing at an I/O port ofthe system. The emitters of transistors 1986 and 1990-SR are connectedhigh in notebook 6, and with bases low, transistors 1986 and 1990-SRturn on, and their collectors go high. An NPN transistor 1990-ON has itsemitter grounded and its base commonly connected to and ordinarilypulled down by a resistor 1991. When transistor 1986 collector goeshigh, however, current flows therefrom to the base of transistor 1990-ONvia a resistor 1992, turning on transistor 1990-ON whereupon itscollector goes low. A pair of resistors 1995 and 1996 connect thecollectors of transistor 1990-ON and 1990-SR to the respective ONBTN andSRBTN inputs of PMU 920B. With transistor 1990-SR conductive, the SRBTNinput is forced high regardless of the state of switch 32, resuming thenotebook 6. In case the notebook 6 had button 28 turned OFF (switchopen), the conductive transistor 1990-ON pulls PMU input ONBTN low andturns on the notebook 6. Advantageously, when the notebook 6 is awayfrom docking station 7, transistors 1990-ON and 1990-SR arenon-conductive, and their independent connections to inputs ONBTN andSRBTN prevent any cross-coupling or unintended operation at either ofthese inputs.

Circuitry 1980 is also suitably implemented in CMOS transistors andlocated on-chip in PMU section 920B of PPU 110. Circuitry 1980 is maderesponsive in such embodiment to an input pin DOCK connecting to VCC ofdocking station 7 upon insertion of notebook 6.

Upon power-up in notebook 6 caused as described above by insertion intodocking station 7, inverter 1983 is enabled by a voltage from FPGA chip124 (FIG. 6) detecting a polling request signal from software. Inverter1983 output goes high on XBUS XD due to its input low. The output highis polled by the software so that system 100 detects valid insertion ofnotebook 6 into docking station 7 whereupon software releases theinverter 1983 enable.

In FIG. 22 power management section 920B in PPU 110 has a buttonresponse circuit 2010, a VCCON generator 2020, a state machine 2030 andregister block 2040. The button response circuit debounces the buttoninputs ONBTN and SRBTN producing respective active-high, predeterminedduration, button trigger pulses OBTNTGR and SRBTNTGR in response to thefirst low-going transition for the respective button input and ignoringany other input activity for that button for a predetermined durationwhich is longer than the trigger pulse.

VCCON generator 2020 and state machine 2030 are described in FIG. 23.

Further in FIG. 22, register block 2040 includes five register bytes atlocations 0A0h-0A4h which retain important data for the power managementunit 920. These registers are described in a tabulation of PMU registerselsewhere herein, and include 3 bytes at 0A0-0A2h for 24-bit registerPMU-Control, an open byte at 0A3h for register expansion, as well as abyte at 0A4h for 8-bit register Mask-Resume. Data is read or writtento/from bus 904 on lines WRDATAX (x=register identifying number 0-4) tothe register x. A register address decode block 2045 decodes addresseson an address portion ADR of bus 904, and when an address 0A0-4 of aregister x in block 2040 is detected, a Write-Register clock inputWREGAxh is activated for the appropriate register byte indicatedgenerally by spaces 7-0 in block 2040 of FIG. 22.

In FIG. 23 a state transition diagram of state machine 2030 has sixstates READY (0,0) state 0, STANDBY (0,1) state 1, TEMPORARY state 2, 3VSUSPEND (1,0) state 3, 0-V SUSPEND (1,0) state 4, and OFF (1,1) state 5.The circuitry of state machine 2030 is sequential logic established inrandom logic, or in a PLA (programmable logic array), in a control ROMor any other form suitable for the application at hand. The statemachine 2030 remains in any one current state reached by it until atransition signal initiates a transition from the current state toanother state predetermined by the identity of the alphabetically letterdesignated transition signal as defined in the Transition State Tableherein. Transitions occur from any one of the six states to another ofthem in response to transition signals associated with the illustratedtransition arrows A, B, C, D, E, F, G, H, I, J, K, L, M, N, 0, P, Q, R.Also, the state transition diagram represents steps in a preferredmethod of operation in system 100, PPU 110, PMU 920 and RTC 920B.

STANDBY mode activates pulse width modulation of the MPU 102 clock as inFIG. 27. Transitions into and out of STANDBY state or mode involve clockcontrol considerations due to a phase lock loop PLL internal to MPU 102as described in connection with FIGS. 33, 34 and 36. If the CPU clock isfully stopped, the DOS timer tick (IRQO of FIG. 43) is not executed, sothe DOS clock is updated based on the battery powered RTC 918 of PPU110, when the Standby mode is exited.

3V SUSPEND Mode keeps most motherboard 302 (FIG. 8) logic powered but ina static low power state, and transition out of this mode quicklyresumes the user application that was executing beforehand. This mode ispreferable to the OFF state except when the battery pack simply goesdead or is removed. System power consumption in the milliwatt range orless can be achieved in 5V Suspend mode, and this consumption iscomparable to the power loss associated with the self discharge currentin NiCad and NiH cells.

Clock control for 3V Suspend turns oscillators and PLL off, ascontrasted with Standby Mode which keeps them going and gates clocksout. In the preferred embodiment, the PCI and CPU clocks make the clocktransitions off and back on in a glitch free manner with minimum pulsewidths maintained. Clocks to devices that are reset when Resuming neednot be restarted cleanly.

Power supply surge currents during 3V Suspend/Resume transitions arereduced or eliminated by keeping signals driven to VCC rails duringthese transitions. Also, the power supply 172 is suitably designed toaccommodate surges with control circuitry that operates in a constantfrequency, pulse width modulated (pwm) mode for larger output currents,and operate in a hysteretic control mode for lower output currents.

Zero volt suspend (0V SUSPEND) stores the state of the computer to diskbefore powering the system off. In this way, the state of the computercan be restored as in 5V Suspend mode, with the main difference being alonger amount of time to resume from OV Suspend due to HDD spin up timeand saving the state of trackball/mouse 144.

A first method of trackball/mouse state save comprises the step ofadding a custom command to the trackball scanner 118, then executing thecommand to read the state of the trackball/mouse, and saving the stateof the trackball/mouse thus read.

A second different method of trackball/mouse state save comprises thestep of adding custom code to a keyboard controller to store host CPUcommands related to the trackball state as these commands are sent tothe trackball. Upon entry of the 0V Suspend state, a next step executesthese commands read the state of the trackball/mouse, and an additionalstep saves the state of the trackball/mouse thus read.

Swapping battery packs without losing 5V Suspend power is successfullyaccomplished by an on-board-302 VCR capacitor and/or rechargeablelithium cell. A one-farad VCR capacitor can provide 5V Suspend power forabout half a minute. Rechargeable lithium coin cells such as coin cell1930 of FIG. 21, can provide one or more hours of 5V Suspend power.Additional circuitry is suitably provided to charge the coin cell inFIG. 21. An optional diode 1945 or a FET transistor circuit similarlyconnected in place of diode 1945 in FIG. 21 advantageously charges thecoin cell 1930 when it is low on charge. Docking station VCC is suppliedto a CHARGE input of power supply 172 for battery charging when thenotebook 6 is inserted.

In FIG. 23, some output signals from the state machine 2030 aredeveloped by combinational logic using the states (assumed high activefor illustration) as inputs. For example, a signal HISPD indicative ofhigh speed operation is active at the output of an OR-gate 2102 whenstate machine 2030 is in either READY or TEMPORARY state. Another signalRS is active at the output of an OR-gate 2104 when state machine 2030 isin either the STANDBY or the TEMPORARY state. A SUSPEND signal outputpin 2110 from PPU 110 becomes active at the output of inverter fed by anOR-gate 2112 when state machine 2030 is in either the 3-V SUSPEND or the0-V SUSPEND state. A NOR gate 2114 provides a complementary signalSUSPENDZ in response to SUSPEND as one input and the OFF signal asanother input.

A low-active control signal CLRVCCON# (Clear VCC ON) is supplied by aNOR-gate 2122 from inputs 0-V SUSPEND or OFF.

Among its other advantageous features, power management logic 920 thushas a state machine circuit 2030 having a plurality of states (FIG. 23)in addition to an OFF state (OFF representing that the system is to beturned off). The state machine circuit 2030 is adapted to respond topresence of power from power supply connector or section 1904 (FIG. 21)when power is absent from a first power supply connector 1902, totransition from at least one of the plurality of states in FIG. 23 tothe OFF state.

STANDBY Mode involves slowing, masking or stopping the CPU clock, andother clocks are suitably controlled as well. The MPU 102 may be thesecond largest power consumer in a backlit portable PC system 100 andthus is a target for power management.

In FIG. 23 the VCCON generator 2022 of FIG. 20 is detailed further,showing the development of the signal at output pin VCCON of PPU 110.Transition logic 2035 is combinational logic that develops the clocksignals A-R for latches that define the six states of state machine 2030according to the Transition States Table. Also, part of this logic 2035develops a signal WAKEUPRTC (same as causes transition R of the Table)for VCCON generator 2020. A MASK₋₋ RESUME register tabulated elsewhereherein allows selected event-sources such as ON-button, S/R button,modem ring, alarm, etc., to be masked or selected to resume the systemin Transition "O" from 3V-SUSPEND to READY as tabulated.

In the VCCON generator 2020, the control pin 2128 input RTCRCLR# is fedto a NAND gate 2154 as well as a NAND gate 2156. The output of gates2154 and 2156 are connected to respective inputs of a NAND gate 2160which drives the VCCON output pin. Control signal WAKEUPRTC is fed toanother input of NAND gate 2154 and is inverted by an inverter 2166which feeds another input of NAND gate 2156. Signal CLRVCCON# isconnected from the output of NOR gate 2122 to a third input of NAND gate2156.

In this way, when RTCRCLR# is low, it forces the outputs of both NANDgates 2154 and 2156 high, forcing the VCCON output of NAND gate 2160low, clearing VCCON. If RTCRCLR# is high, however, it qualifies bothNAND gates 2154 and 2156. If WAKEUPRTC is high, then NAND gate 2154output goes low, forcing the VCCON output of NAND gate 2160 high,thereby turning on VCCON as part of a wake-up function. If RTCRLCR# ishigh, and WAKEUPRTC is low, then both NAND gates 2154 and 2156 arequalified as before, but the low WAKEUPRTC forces the output of NANDgate 2154 high, qualifying NAND gate 2160, and inverter 2166 feeds ahigh qualifying input to NAND gate 2156. Then CLRVCCON# (active low)controls output VCCON (because both NAND gate 2156 and NAND gate 2160are otherwise qualified), and, for example, a low or high signalCLRVCCON# forces output VCCON low or high respectively.

In FIG. 24 PMU portion 920A has a clock divider circuit 2310, anoscillator control circuit 2320, a backlight PWM generator 2330, a maskclock generator 2340, a timer circuit 2350, status counters circuit2360, system management interrupt circuit 2370, a peripheral powercontrol circuit 2380, a Resume 5V circuit 2385, and a Reset generator2390. All the circuits in this PMU portion run under power from thepower supply in this embodiment, and not from a battery like RTC 920B,so that RTC 920B can disable all these circuits in section 920A.

Clock divider circuit 2310 in PPU 110 is realized by a multi-stagecounter 2312 that has a 32 KHz. clock input from MPU 102 of FIG. 5.Counter 2312 is resettable when power is uncertain, by an externallysupplied control signal PWRGD5 to turn the system off upon thecompletion of at least one clock cycle of the clock circuit.

The counter 2312 has 14 stages and provides successive divide-by-twoclocks at 16, 8, 4, 2, and 1 KHz, and 512, 256, 128, 64, 32, 16, 8, 4,and 2 Hertz. Clock divider circuit 2310 further has a divide-by-14circuit 2314 clocked by 32 KHz. input to produce an output clock with aperiod of 430 microseconds (a little faster than 2 KHz.). Still anothercircuit 2316 divides the counter 2312 four (4) Hertz output by fifteen(15) to produce a clock with a period of 3.75 seconds. A clocksubstitution circuit 2318 substitutes 32 KHz. for each of the 512 Hz.and 2 Hertz outputs, and 4 KHz. for the 3.75 sec. clock output, inresponse to the PWRGD5 signal and a test input.

Oscillator control circuit 2320 is responsive to the 512 Hertz clock,PWRGD5 and SUSPENDZ signals to sense the clock oscillator state asOSCILLATOR STABLE, OSCILLATOR OFF, AND OSC14M STABLE. Circuit 2320senses a number of successive cycles to determine stability.

PWM generator 2330 has a 4-bit or other multibit software programmablecontrol register 2332 to produce a backlight adjust control signal at aBLADJ output pin of PPU 110. Register 2332 variously qualifiesclocked-AND-gates and clocked OR-gates in a logic circuit 2334 andthereby controls a combination of clock pulses from 1 KHz., and 512, 256and 128 Hertz clock outputs of clock divider circuit 2310 to establishthe duty cycle of the BLADJ signal in correspondence to the binary valuerepresented by the bits in register 2332. For example, each clock has a50% duty cycle. ANDing two of them together reduces the duty cycle to25%. ORing two of them increases the duty cycle to 75%. The results ofthe AND and OR can be still further logically combined with other ANDand OR operations with the other clocks to produce a continuous range ofduty cycles. If all the bits are ones, then BLADJ has 100% duty cyclefor full-on back lighting of system 100 by the BACK LIGHT of FIG. 2.

Mask Clock generator 2340 in PPU 110 advantageously provides a pinoutput MSKCLK# variable duty cycle low frequency control signal toperiodically turn on and off the high speed clock in MPU 102, asdescribed in more detail by reference to FIG. 27.

Timers block 2350 produces timer outputs for system management interruptblock 2370 of FIGS. 24 and 28 and for peripheral power circuit 2380.Timers block 2350 is described in more detail in connection with FIG.25.

Status counters block 2360 provide software readable event historystatistical information accessible from bus 904 and useful in activepower management software such as in FIG. 45. Status counters block 2360includes status information for I/O such as serial port COM1, parallelport LPT1, mouse MSINT, keyboard KBINT, bus 104 interrupt (e.g.PCI-INTA), drive trigger signal DRVTGR, X-drive signal XDRV, and display(e.g. VGA). For example, a 4-bit KBCS counter 2362 (or a counter of anyof the above-listed event signals) counts KBCS event pulses and producesan output status register value STKBCS (which counts the number ofevents of that type since the last poll by software) which is softwareaccessible (such as by active power management software or by BIOS) tofacilitate program monitoring and control of the system based on thecounter information developed in and concatenated from the statuscounters block 2360. These counters saturate and do not roll over andinstead are reset when desired. A LAN event counter is weighteddifferently from a HDD event count by active power management software,for example.

System Management block 2370 is described in more detail in connectionwith FIG. 28. It has SMI period register control bits SMIPRD, and timerinputs from timers block 2350. Also, another SMI input receives a powermanagement unit reset PMURST signal that also resets some PMU 920circuitry on return from 5V SUSPEND.

Peripheral power block 2380 produces PPU 110 output signals for 1) harddisk power IDEPWR, 2) floppy disk power FDDPWR, 3) serial interface unitpower SIUPWR and 4) programmable chip select power PCSPWR. The foregoingnumbers 1-4 representative of IDE, FDD, SIU and PCS are indicated by "x"in the following description. Peripheral power block 2380 has four ANDgates 2382.x producing outputs xPWR to output pins. All four of ANDgates 2382.x are qualified at a first input by the enable powermanagement unit ENPMU signal. Each AND gate 2382.x has a second inputconnected to an output of a corresponding NAND gate 2384.x, and a thirdinput connected an output of a corresponding OR-gate 2386.x. Each NANDgate 2384.x has a first input connected to a respective enable controlsignal SWCNTLx corresponding to bits 7, 5, 3 and 1 of the SW₋₋ PWR₋₋CNTL register and a second input connected to a respective high activepower signal SWxPWR corresponding to bits 6,4,2 and 0 of the SW₋₋ PWR₋₋CNTL register tabulated elsewhere herein. NAND 2384.x inverts SWxPWR toproduce low-active output for FIG. 20 power on in block 170, inadvantageous software-controlled power management.

Each OR-gate 2386.x has a first input connected to the respectivesoftware control signal SWCNTLX as above and a second input connected toa respective timer time-out hardware control signal xTO, in advantageoushardware-type passive power management. When software control enableSWCNTLX is low (software control disabled, hardware control enabled),and xTO goes high on hardware timer timeout for that peripheral x, thenpower is cut off to the timed out peripheral x via AND gate 2382.xsuppling inactive-high to a line for that peripheral in block 170 ofFIG. 20.

Resume 5V circuit 2385 provides a wakeup from 5V-SUSPEND state 3 of thestate machine 2030 of FIG. 23. A register 2386 has the software-readableeight top 16-23 bits of the PMU₋₋ CNTRL register as described in thetable for that register. Notice that the function of the Resume 5Vcircuit 2385 is closely associated with the state machine 2030 in the 3volt well 920B but the location of the Resume 5V circuit 2385 is in the5 volt well in circuit 920A. This physical layout embodiment keeps gatecount low in the 3 volt well 920B and keeps power consumption low whenonly the 3 volt well 920B is powered.

Reset Generator 2390 supplies outputs to PPU 110 pins IDERST for harddisk reset, FDDRST floppy disk reset, and XDRST for peripherals on theXD bus. Internal resets PMURST for the power management circuitry 920and a bus 104 reset BUSRSTOUT (e.g. BUS=PCI) are also provided.

In FIG. 25 Timers block 2350 in PMU section 920A of FIG. 24 has eighttimer counters, each fed four-bit codes from eight (8) correspondingfour-bit sections of a software-accessible 32 bit register PMU₋₋ TIMERSconnected to bus 904. The sections and corresponding timers for thisregister PMU₋₋ TIMERS are tabulated under its name elsewhere in. Alsotabulated are a translation of the four-bit codes into time-out values.A 0000 code disables each timer. The timer timeout values are 0-15minutes with minutes coded to binary, except that the Standby TimerSTDBY is nonlinearly coded up to 15 minutes as shown for bits 31-28, andthat the Temporary Timer TEMP is nonlinearly coded in tens ofmicroseconds and then in milliseconds up to 15.36 milliseconds. The VGAtimer is linearly coded up to 14 minutes and then "1111" equals 8seconds.

Further in FIG. 25, timers PCS, SIU, VGA, FDD, IDE, and SUSP are alleight-bit binary counters, each with one time-out digital output linesfed by a 4-bit comparator (indicated by XOR exclusive OR symbol) thatcompares the four MSBs (most significant bits) of each counter with the4-bit code supplied from register PMU₋₋ TIMERS. Each of these sixjust-mentioned counters have a clock input connected to the 3.75 secondperiod clock from block 2316 of FIG. 24. The timer STDBY has its clockinput connected to the 2 Hertz output from block 2312 of FIG. 24. Theshort-time timer TEMP is clocked directly by 32 KHz. clock. Timers TEMPand STDBY have timer decode circuitry 2410 and 2420 respectivelyconnected to the counters 2412 and 2422 in each timer. The timer decodecircuitry 2410 and 2420 each provide 16 output lines to OR-gates 2414and 2424. Only one of the 16 output lines from each timer TEMP and STDBYis high at any time, depending on the results of the decode.

The eight timer counters each have a reset input which is responsive toa respective block of combinational logic 2430 having an OR gate2432.1-0.8. A first input of each OR gate 2432.1-0.8 is connected to theoutput of a common AND gate 2440. The latter gate 2440 provides anactive output when PMU reset signal PMURST is active and a registerwrite signal WREGBCH is active. (BC hex is an address.) A MASK₋₋ SIU₋₋VGA register is tabulated with the rest of the timer registers, andprovides signals (designated with the prefix MASK ahead of event namesCOM1, LPT1, KBMS, VGA) which mask system events when they are notintended to be monitored by the timer SIU or VGA associated with thecombinational logic 2430 fed by a signal line for that event. The resetlogic for the timers is illustrated in FIG. 25.

This reset logic confers advantages including important systemflexibility and power management configuration. For instance, keyboardactivity via KBMSTGR can be used or not (depending on mask bitMASKPKBMS), for resetting the VGA display timer in FIG. 25. Analogousstatements are evident for each of the various triggers ₋₋ TGR and masksin the context of the circuits to the timers of FIG. 25.

In FIG. 25, the reset logic of the SUSP, TEMP and STDBY timers isdescribed further. A suspend reset event SUSPTGR is implemented incombinational logic MASK LOGIC by OR-ing the outputs of fifteen ANDgates. The fifteen AND gates respectively AND together each of 15 systemevent signals with its corresponding mask bit in the set of mask bits0-14 (event prefixed by SUSP for mask) in register MASK₋₋ SYSTEM asdescribed in its tabulation.

A standby reset event STDBYTGR is implemented in combinational logic byOR-ing the outputs of another fourteen AND gates in MASK LOGIC. Thefourteen AND gates respectively AND together each of 14 system eventsignals with its corresponding mask bit in the set of mask bits 16-29(event prefixed by STDBY for mask) in register MASK₋₋ SYSTEM asdescribed in the tabulation for that register. Refer to FIG. 15 for HLDAand FIG. 23 for state or mode signals to timers of FIG. 25.

In FIG. 26, a description of the STDBY nonlinear timer is given indetail. The description of the TEMP nonlinear timer in one embodiment isthe same, and therefore omitted, except that the input clock is as shownin FIG. 25, and the connection to PMU₋₋ TIMERS register is analogous. Inanother embodiment the TEMP timer is different as is shown in the upperpart of FIG. 26 and described.

In FIG. 26B, STDBY timer has a counter 2422 clocked by 2 Hz. clock andreset by logic of FIG. 25. The 4 bit nibble STDBY in register PMU₋₋TIMERSis fed to the 4-bit input of a 4-to-16 binary decoder 2455.Sixteen lines from the 16-bit output of decoder 2455 connect to 16 firstinputs of 16 NAND gates 2457.1, 2457.2, . . . 2457.16 respectively.Counter 2422 produces a multi-bit value which is fed to a decode circuit2460 which has as many outputs (e.g. 16) as there are NAND gates 2457.n.The decode 2460 has combinational logic which is arranged to produce anoutput high on only one of the sixteen lines at a time, wherein eachline connects to one of 16 respective second inputs of NAND gates2457.n, and corresponds to a table row in the tabulation for bits 31-28(STDBYTMR3-0) in the tabulation for the PMU₋₋ TIMERS register elsewhereherein. A high on such line corresponds to the occurrence of a counter2422 value representing the amount of time tabulated in one of the 16table rows. These times are nonlinear as a function of table row number,in general, and the circuitry of FIG. 26 efficiently performs anonlinear timer function (with linear as a special case). This nonlinearfunction can be hardwired into the decoder 2460. Also, an optionalprogramming register 2465 accessible from bus 904 is in a secondembodiment provided to drive decoder 2460 in programmable form toimplement any tabulation desired. Sixteen outputs of the NAND gates2457.n are supplied to 16 inputs of a single NAND gate 2470 (analogousto OR-gate 2424) to provide the STDBYTO output. When STDBYTO goes activeit clocks a latch 2472 which disables an AND-gate 2474 from passingclock to counter 2422, thereby freezing the counter 2422 value. Thecounter 2422 can be restarted by a RESET signal on a line connected tothe reset inputs of Latch 2472 and counter 2422.

In FIG. 26B, TEMP timer has a nine-bit counter 2412 clocked by 32 KHz.clock and reset by its own logic of FIG. 25. The 4 bit nibble TEMP inregister PMU₋₋ TIMERSis fed to the 4-bit input of a 4-to-9 mappercircuit 2484 such as a ROM, PAL or combinational logic. The nine bitoutputs of counter 2412 and mapper 2484 connect to first and second9-bit inputs of a comparator 2486 to produce an output HWTO indicativeof equality or not. Note that TEMP points to a table row in thetabulation for bits 23-20 (TEMPTMR3-0) in the tabulation for the PMU₋₋TIMERSregister elsewhere herein, and the 9-bit mapper 2484 outputcorresponds to the amount of time tabulated in one of the 16 table rows.These times are nonlinear as a function of table row number, in general,and the circuitry of FIG. 26A efficiently performs a nonlinear timerfunction (with linear as a special case). This nonlinear function can behardwired into the mapper 2484. Comparator 2486 detects or responds toan occurrence of a counter 2412 value representing the mapper value towhich the TEMP input thereto points. When any one of hardware timeoutHWTO, or a software time out line SWTO or a WSO1 control line go activeat the inputs of an OR-gate 2488, the output of OR-gate 2488 supplies ahigh to the D input of a latch 2490 clocked at 32 KHz, thereby providinga Q output TEMPTO for the timer block 2480. When TEMPTO goes active itfeeds back to a gate 2492, which prevents 32 KHz clock from reachingcounter 2412, thereby freezing the counter 2412 value. The counter 2412can be restarted by a reset signal on a line RST# connected to thelow-active reset R inputs of Latch 2490 and counter 2412. In this way avariety of nonlinear timer embodiments provide speed, programmability,and die area advantages for power management units, timers andintegrated circuits generally.

In FIG. 27, the Mask Clock generator 2340 in PMU section 920A of PPU 110has a software programmable register MASK₋₋ CPUCLK (also called TONTOFF)2510 programmable from internal bus 904 when clocked by signal RREGDOH(decode of DO hexadecimal register address). A clock signal (e.g., 2 KHzor the 430 microsecond clock) from clock divider 2310 is fed to a 7 bitcounter 2520 which counts clock cycles from 0 to 127 and repeatscontinually. A system reset resets this counter 2520. A comparator 2530outputs a logic one or zero signal AGTB depending on whether the countin counter 2520 is greater or less than the count in register 2510.Signal AGTB is connected to gating logic 2535. When logic 2535 isqualified by presence of the STANDBY mode, and logic signals triggerinput TGRIN#, and mask clock enable MC#, then AGTB passes to an outputpin MSKCLK# of PPU 110.

As shown in the waveform diagram in FIG. 27, MSKCLK# has a repetitionrate of about 18 Hertz, with a period of 55 milliseconds, when the 430microsecond clock is counted. 7 bit counter 2520 divides rate by 128, so430 microsecond period is multiplied by 128 to yield about 55milliseconds. This low frequency signal is coupled from PPU 110 to MPU102 as shown in FIGS. 5, 6, and 27. In MPU 102, an AND circuit 2540gates the nominal 50 MHz. MPU 102 clock to the operative parts of MPU102 in response to the advantageously variable duty cycle MSKCLK#control signal. Inside MPU 102 the waveform 2545 of the gated clock hasa first interval 2550 of high speed pulses followed by another interval2552 of no high speed clock pulses. The time intervals 2550 and 2552 arethe same in both MSKCLK control signal and the gated clock waveform2545. The frequency of MSKCLK is advantageously low since it is coupledbetween chips 102 and 110 on printed wiring board 302 of FIG. 8. Thegated clock circuitry advantageously occupies only a small area insideMPU 102. The low frequency of MSKCLK# modulating the very high frequencyof the CPU clock does not produce significant harmonics, andadvantageously avoids radio frequency interference (RFI) or otherelectromagnetic interference (EMI) at the system or device levels.

The circuitry embodiment as described provides an illustration of anelectronic device that has a register for duty cycle data (e.g. TONTOFF)and a clock circuit coupled to the register and control circuitryresponsive thereto configured to repeatedly generate an output having aduty cycle responsive to the data and then a plurality of series ofclock pulses, the series interspersed or followed with intervals freeof, or lacking, clock pulses. Each series has a number of clock pulsesand that number is responsive to the data in the register. The registerand clock circuit are integrated onto one integrated circuit chip. Amicroprocessor (e.g. MPU 102) is connected to receive the duty cyclevariable output as a modulating signal to produce the series of clockpulses to clock the microprocessor, whereby a resulting modulated clockis has a duty cycle established by the data in the register. Theinterval free of clock pulses also has a complementary length responsiveto the data in the register. The clock circuit has a clock rate, and theseries of clock pulses has the same clock rate. The microprocessordevice is fabricated on a first integrated circuit, and the clockcircuit and register are fabricated on a second integrated circuit chipcoupled to said first integrated circuit chip.

Also represented by FIG. 27 is a method of operating a computer systemhaving a microprocessor device and a clock circuit, with a first step ofstoring data in a register, secondly controlling the clock circuit withthe data, and thirdly thereby supplying to the microprocessor device amodulating or masking signal output having a duty cycle responsive tothe data, and fourthly, modulating a higher frequency clock signal inthe microprocessor device with the modulating or masking signal byinterspersing a plurality of series of clock pulses with intervalslacking clock pulses.

The control logic for the reset R input of the 7-bit counter 2520 inFIG. 27 provides important system control and flexibility advantages.For example, a signal shutting off LCD 190 as an SMI depends on the SMImasking in FIG. 28 and can be used to slow down the CPU clock.

A three-input NAND gate 2560 feeds the reset input R of counter 2520,and a two-input OR-gate 2562 feeds the clock input of that counter 2520.A first input of NAND gate 2560 is fed by a NOR-gate 2564. NOR-gate 2564has two inputs respectively connected to high active signals high-speedcontrol HISPD and power management unit reset PMURST. If either of theselatter signals are high, counter 2520 is reset and MASKCLK# is forcedinactive high so that the CPU clock runs continually at high speed.These results are exactly what is desired if the state machine 2030 ofFIG. 23 is in either the Temporary or the Ready state or if the powermanagement function is reset.

The rest of the control gates at left in FIG. 27 cooperate to provide aclock switch or choice circuit between 430 microsecond clock or aselectable periodic SMI (system management interrupt) clock rate fromFIG. 28 (1 KHz, 516, 256, or 128 Hz.). This periodic SMI clock PRDSMICLKis fed to a first input of an AND gate 2570, and the 430 MS.CLK signalfed to a first input of another AND gate 2572. Only one of the AND gates2572 is qualified depending on the clock selection represented by theoutput of an OR-gate 2574. A first input to OR-gate 2574 comes from bit10 of the MASK₋₋ SMI Register tabulated elsewhere herein. This bit 10 iscalled mask periodic SMI or MSKPRDSMI and is fed to a first input of anAND gate 2576 and fed inverted to the first input of OR-gate 2574 and toa low active input of an AND gate 2578.

When MSKPRDSMI is high, the 430 microsecond clock is selected, becauseOR-gate 2574 output is low and qualifies AND gate 2572. A TEST input toOR-gate 2574 can also be used to select either clock at will, whenMSKPRDSMI is high. When MSKPRDSMI is low, OR-gate 2574 output goes highand passes PRDSMICLK through AND gate 2570 and OR-gate 2562 to clockcounter 2520.

NAND gates 2576 and 2578 perform a supporting and analogous function forcounter 2520 reset. An RTC 918 (FIG. 11) timer tick IRQO occurs every 55microseconds, and is fed delayed by 400 nanoseconds as a signal DelayedIRQO (DIRQO) to a second input of NAND gate 2576. A periodic SMI (PSMI)signal of FIG. 28 can wake up the system 100 every 1/8 second, 1/4second, 1/2 second or every one (1) second depending on whether theselected SMI clock PRDSMICLK is 1 KHz, 512, 256 or 28 Hz. respectively.A delayed periodic SMI signal DPSMI is fed delayed by 400 nanoseconds toa second input of a NAND gate 2578 in FIG. 27.

The control signal MSKPRDSMI supplied to NAND-gate 2576 and low-activeinput to NAND 2578 performs the selection between the DIRQO and DPSMIreset signal candidates. If MSKPRDSMI is high DIRQO is gated throughNAND gates 2576 and 2560 to supply a reset every 55 milliseconds. IfMSKPRDSMI is low, DPSMI is gated through NAND gates 2578 and 2560 tosupply a reset every DPSMI period of 1/8 second, 1/4 second, 1/2 secondor every one (1) second depending on the selection in FIG. 28.

As described above, the MASKCLK# circuit 2340 advantageously providesmask clock to support Standby mode at either timer tick rate or incoordination with System Management Interrupt rate.

In FIG. 28 system management interrupt circuit 2370 in section 920A ofPPU 110 has 24 data bit latches 2610 which respectively have 24 datainputs from a 24-bit mask register MASK₋₋ SMI 2620 which is softwareprogrammable bytewise at three byte addresses 0AC-0AE hex from internalbus 904, all as tabulated bitwise elsewhere herein. Data latches 2610have their 24 Q outputs respectively connected to the 24 D inputs of aregister 2614 called SOURCE₋₋ SMI. The 24 Q outputs of register 2614 arereadable on internal bus 904 bytewise at three byte addresses 0A8-0AAhex also as tabulated bitwise elsewhere herein. This register 2614 isresettable by software when the information about which event triggereda system management interrupt is no longer needed.

The mask register 2620 bits are set to one or zero depending on whetherthe circuit 2370 is to be responsive or not to a possible SOURCE₋₋ SMItabulated source of SMI interrupt. The 24 data latches 2610 respectivelyhave 24 clock inputs which are separately fed with 24 different trapsignals from different interrupt sources. Among the possible interruptsources are six I/O sources as tabulated for bits 21-16 in registerSOURCE₋₋ SMI which supply latches 2630 and which have their outputsconnected to bit latches 21-16 of the respective clock inputs of datalatches 2610.

A Periodic SMI circuit 2650 supplies a clock input of one of the latches2610. Circuit 2650 has a 2 bit programmable SMI Period register 2652which controls a clock selector 2654. Clock selector 2654 selects one offour clock signals (e.g., 1 KHz., 512, 256, 128 Hertz) depending on thetwo bits in register 2652 and passes the clock signal on to a clockinput of a counter 2656 that supplies every 128th clock pulse. Theoutput of counter 2656 is connected to a clock input of the latch forbit 10 in latches 2610.

A NOR-gate 2634 has 24 inputs from the 24 latches 2610. That latches2610. Thus a high from any unmasked interrupt source clocked intoregister 2610 can force the NOR-gate 2634 output SMITGR# low.

Another NOR-gate 2638 produces low-active SMI output on the SMI# pin ofthe PPU 110 for MPU 102. MPU 102 acknowledges on the same SMI# line andexecutes a SMI routine in software according to a process which in aprocess step that suitably reads SOURCE₋₋ SMI register 2614 and in otherprocess steps executes system management operations dependent on thesource of the SMI which is flagged in register 2614.

With reference to FIGS. 28, 29 and 30, the operations of SMI circuit2370 are next described in further detail. According to conventionalnotation, any one of an over-bar, z suffix, or poundsign (#) suffixusually indicate a low-active signal unless context clearly indicatesotherwise.

NOR-gate 2638 has four inputs including SMI trigger SMITGR# fromNOR-gate 2634, CPU Reset signal CPURST, the SUSPEND signal, and a SMIgenerator control signal Q6. In this embodiment, a system managementinterrupt SMIOUT# high is generated when a SMITGR# low event is present,and the CPU is not reset, and there is no SUSPEND condition, and controlsignal Q6 is high. The output of NOR-gate 2638 is fed to the SMI# pin ofPPU 110 when inventer 2639 is enabled by low-active SMI output enablesignal SMIOEZ due to Q4 low from a multibit shift register 2640.

Control signal Q6 is generated in the operations of a multibit shiftregister 2640, here six bits long, having shift register sections2640.1, . . . , .N where N=6 in this embodiment. All of the shiftregister sections are clocked by the same bus 104 clock signal PCLKIN(PCLKB of FIG. 6) to PPU 110.

Shift register 2640 is connected in the top two bits (e.g. Q5 and Q6) toa respective pair of inputs of an AND-gate 2642. A third input of gate2642 is qualified by the external power good signal PWRGD5. The outputof AND-gate 2642 is connected to a reset input of each of the 24 datalatches 2610. Recordkeeping register SOURCE₋₋ SMI 2614, by contrast, isreset by software independently of data latches 2610.

When a particular two-bit code (e.g. Q5=1, Q6=0) appears at the top ofshift register 2640, qualified AND-gate 2642 supplies an active highreset signal to all of the 24 latches 2610. In this way, the latches2610 can advantageously sample the 24 interrupt sources repeatedly. Putanother way, the shift register 2640 and latches 2610 advantageouslycooperate to terminate SMIOUT and a system management interrupt SMI#within a period of time after an interrupt source has ceased requestingor I/O trap signalling for the interrupt, unless the request reoccurs.

Focusing even more specifically on shift register 2640, it is noted thatthe SMIOUT output of NOR-gate 2638 is fed back to the data input of thefirst section of shift register 2640, while the output of the top, orlast, section Q6 of shift register 2640 is connected to one of theinputs of the NOR-gate 2638. Further, the output state of thenext-to-last bit or section (Q5) of shift register 2640 is connected tolow-active enable E inputs of Q1-Q4 shift register sections and used tofreeze or enable transfers (shifts) from all of the lower sections totheir respective next higher section, including to Q5 itself.

A NAND-gate 2644 provides a reset signal to reset inputs R of register2640 sections Q1-4, namely all but the top sections of shift register2640, that is, all sections which are not decoded by reset gate 2642.The latter two sections are reset when signal PWRGD5 goes low. NAND-gate2644 resets shift register 2640 sections Q1-4 when either PWRGD5 goeslow or there is no SMI# active low at the SMI# pin of PPU 110.

Let operations in circuit 2370, with reference to FIGS. 28-30 forpurposes of description, begin with shift register 2640 reset with Q1-Q6ail low. SMI# is high and inactive until some event signal clocks alatch in latches 2610 that is not masked by register 2620, whereuponNOR-gate 2634 output SMITGR# goes low, and NOR-gate 2638 being otherwisequalified by lows, takes SMIOUT high, forcing SMI# low by PPU circuit2370 drive. The SMIOUT high is fed to bit Q1 of shift register 2640, andsuccessive bus 104 clock cycles shift the high bit Ql through stages Q2,Q3, and Q4, into stage Q5. When Q4 goes high, SMIOEZ, which is the sameas Q4, disables (three-states) inverter 2639, whereupon MPU 102continues just-begun SMI-responsive low-drive single-line acknowledge onSMI# as shown by SMIIN# of FIG. 29. Now Q5 is high and Q6 is low,causing NAND gate 2642 to reset all of the latches 2610, and initiate aTrap Ignore Window of FIG. 29, whereupon with gate delays in gates 2634and 2638, SMIOUT goes back low. Shift register 2640 Ql goes low, butQ1-Q4 shifting is frozen because Q5 is high. The Q5 high is shifted intoQ6, forcing SMIOUT low, but releasing the reset from AND-gate 2642 andlatches 2610. When MPU 102 drive goes back high in FIG. 29, SMIIN goeslow and resets shift register 2640 bits Q1-Q4 via NAND gate 2644. Q5 andQ6 go back low, completing the SMI cycle and terminating the Trap IgnoreWindow. In this way, a die-area-efficient circuitry cooperates with MPU102 to supply SMI interrupt signaling from maskable sources for SMIwake-ups and other system purposes.

FIG. 31 is a partially schematic and partially block diagram of a systemmanagement interrupt circuitry 1620 embodiment in the PCU of FIG. 18which is interconnected with the PPU of FIG. 11 and MPU of FIG. 9 toform a distributed power management system embodiment of FIGS. 31, 28,33 and 34 interrelated with the computer system embodiment of FIGS. 5-7.

In FIG. 31 the Card Status Change Register for socket A (CSC REG A) andthe Card Status Change Register for socket B (CSC REG B), tabulatedelsewhere herein, respectively have their bits 4,3,2,1,0 OR-ed byOR-gate 2672 and 2674 to produce respective signals A₋₋ CSC and B₋₋ CSCindicative of a change in card status change if any of five conditionsGPICHG, CDCHG, RDYCHG, BWARN or BDEAD occur.

For card SMI purposes, signal A₋₋ CSC and B₋₋ CSC are fed to respectivefirst inputs of SMI NAND gates 2676 and 2678, and further respectivelyfed to first inputs of card service interrupt NAND gates 2677 and 2679.NAND gates 2676 and 2678 are respectively qualified by SMI enable bitsSMIEN high in the Interrupt and General Control Register for Socket Aand the same for socket B. If a SMIEN signal is high for a respectivesocket, a SMI is enabled for that socket. However, a SMIEN is low forsocket A or B, enables the respective NAND gate 2677 or 2679 and gatesthe corresponding A₋₋ CSC or B₋₋ CSC signal to act as a card serviceinterrupt.

In the SMI circuitry of FIG. 31, two further NAND gates 2680 and 2682provide card A or card B specific outputs for SMI purposes providedthat 1) card ring indicate enable CRIEN is high for that card inInterrupt and General Control Register, 2) Ring Indicate to SMI enableis high for that card in the "Miscellaneous" Register for that card, and3) ring indicate change RISTAT is high for that card in the"Miscellaneous" Register for that card.

NAND gates 2676, 2678, 2680, and 2682 have their outputs respectivelyconnected to four inputs of a NAND gate 2684. If any output goes lowfrom NAND gate 2676, 2678, 2680, or 2682, then the output of NAND gate2684 goes high whereupon succeeding inverter 2686 takes PCU 112 card SMIoutput pin CRDSMI# low. In this way, substantial circuitry and eventdata for SMI purposes are concentrated in the PCU 112 to economicallysupply just one pin output to PPU 110. For test purposes a NAND gate2688 is also provided with inputs connected to NAND 2684 output andsignal TESTZ to supply a signal SMIENZ.

In the interrupt circuitry of PCU 112, an OR-gate 2690 is responsive toeither the output from NAND gate 2677 or 2679 to supply an input to anexclusive-NOR (XNOR) gate 2692. A second input of XNOR gate 2692 is fedby a level mode/pulse mode control signal CSC₋₋ LM bit 1 as tabulatedelsewhere herein for the Global Control Register. The CSC₋₋ LM bitcauses the XNOR-gate 2692 to programmably inverts or not invert theoutput of OR-gate 2690 for advantageous level mode or pulse mode outputselection. Similarly Global Control Register bit 3 card A interruptrequest level mode AIREQLM and bit 4 card B interrupt request level modeBIREQLM program the operation of respective XNOR gates 2694 and 2696 fedwith interrupt request lines from card A (A₋₋ IREQ) and card B (B₋₋IREQ). The outputs of XNOR gates 2692, 2694, and 2696 are respectivelycoupled to output pins IRQ5, IRQ3 and IRQ4 which compactly send cardservice, and card A and B interrupt signals to PPU 110 as CRDSRVRQ,CRDAIORQ, and CRDBIORQ.

In FIG. 32 a waveform diagram for MPU 102 shows a clock oscillatorsignal OSC (e.g., 50 MHZ) continuing until it is terminated by a STOPOSCcontrol signal going from low to high at a transition 2702.Subsequently, an opposite transition startct occurs in the STOPOSCcontrol signal, whereupon the 50 MHz. oscillator in MPU 102 is enabledand begins a number of startup cycles 2704 which are to be preventedfrom clocking the CPU 702. Finally, reliable clock cycles 2706 areavailable. A signal resume is taken low at transition 2712 coincidentwith STOPOSC going high at 2702. However, signal resume is made to gohigh at transition 2714 only when clock cycles 2706 have becomeavailable.

In FIG. 33 power management circuitry 708, in the MPU 102 of FIG. 9, hasan output suspx control signal connected to the SUSP# input core circuit702 of FIG. 9 to suspend operations therein when suspx is low.

A high active Reset signal reset from an input pin RSTCPU of MPU 102 isinverted low by an inverter 2802 which is connected to a first input ofa NAND gate 2804 and thereupon forces the NAND gate 2804 to output ahigh which (buffered) is suspx high, preventing the MPU core clock frombeing stopped, and thus causing latches in the circuitry 701 to beclocked and thereby reset.

The NAND gate 2804 provides a low suspx output to suspend the core clockwhen both the Reset signal is low and the output of an OR gate 2806 ishigh.

A second input of NAND gate 2804 is fed by the output of the OR-gate2806. OR-gate 2806 has a first input fed by the output of a NAND gate2808 and a second input fed by the output of a dual-NAND flip-flop 2810.NAND gate 2808 acts as an OR for low-active inputs. Notice that eitherof the inputs of OR-gate 2806 when high, and any of the inputs of NANDgate 2808 when low, can force suspx low to stop the core clock unlessthe RSTCPU pin signal hreset is active.

A MASKCLK# low-active clock control signal from PPU 110 mask clockgenerator 2340 of FIG. 27 is fed to a corresponding input of MPU 102 andinverted to supply signal hmaskclk in FIG. 33 to a first input of a NANDgate 2812. When hmaskclk is low (in the part of its cycle that is toturn off the core clock), the output of NAND gate 2812 is forced high,whereupon it is inverted by an inverter 2814, the output 2816 of whichgoes to a first input of the NAND gate 2808 forcing the output of NANDgate 2808 high at OR-gate 2806 and ultimately producing a suspx signallow so that the core clock is indeed suspended.

NAND gate 2812 has a second input fed by low-active control signalhsuspendx corresponding to the SUSPEND# input pin of MPU 102 fed by theSUSPEND# output of PPU 110. Thus, when hsuspendx is low, the core clockis suspended by suspx low unless reset is active.

A test mode input ntOl is low in normal operation and qualifies a NORgate 2822. The test mode input ntOl is high only in the test mode, butwhen this mode occurs, input ntOl via an inverter 2824 supplies asuspending low to a second input of NAND-gate 2808. Put another way, intest mode this input ntOl is high, stopping the internal CPU 701 coreclock by driving suspx low.

A third input of NAND gate 2808 is fed by the resume signal of FIGS. 32and 34. When this resume signal is low, indicating that the oscillatoris not ready for normal use by the CPU, the suspx signal goes low unlessreset is active.

Before describing the circuitry associated with flip-flop 2810, adescription is provided for the FIG. 33 suspend-control of the memorycontroller 718 of FIG. 9 via line 727 from power management circuit 708.

The output (buffered) of NOR-gate 2822 supplies a signal hstoptomcuwhich when high disables or stops the memory controller 718. NOR-gate2822 provides an ANDing of its low-active inputs hsuspendx, test modent01, and a control signal f₋₋ idle (inverted). The control signal f₋₋idle (inverted) is an internal CPU 702 signal to which the CPU 702suspend acknowledge signal SUSPA# is logically related (seehereinabove-cited TI486 Microprocessor: Reference Guide p. 1-9).

Advantageously, this part of the embodiment arranges for suspend signalhsuspendx to sequentially 1) initiate suspension of the CPU 702 vialogic 2804-2816; and then 2) subsequently suspend the operation of thememory controller MCU 718 via logic 2822-2828; and 3) finally generatesignal hstoposc to stop the oscillator via further logic 2834.

When f₋₋ idle goes high, with suspendx and nt01 low, the output ofinverter 2828 goes low, indicating CPU suspend acknowledge, at an inputof NOR-gate 2822. NOR-gate 2822 output hstoptomcu goes high to disablethe memory control circuitry 718 of FIG. 9.

The memory control circuitry 718 acknowledges by supplying a high signalhstopfmmcu (stop from mcu). A dual-NOR flip-flop 2830 has first andsecond NOR-gates 2832 and 2834 with the output of each NOR coupled to afirst input of the other NOR. The output of NOR-gate 2834 is buffered tosupply a signal hstoposc (same as stop oscillator signal STOPOSC of FIG.32) to the circuitry of FIG. 34 and the oscillator 706. Since thissignal stops the oscillator itself as well as gating it, restart willtake many cycles, and the oscillator will not be reliably availableagain until an active resume signal (FIGS. 32, 33, 34) is received fromthe circuit of FIG. 34 for NAND gate 2808 of FIG. 33.

As described, signal hstopfmmcu is connected as a set signal to a secondinput of first NOR-gate 2832, so that flip-flop 2830 captures a pulse ofhstopfmmcu when such occurs. Signal hsuspendx SUSPEND# from PPU 110 isconnected as a reset signal to a second input of second NOR-gate 2834 sothat when a suspend is lifted by hsuspendx going high, the output ofNOR-gate 2834 is forced low immediately and removes the oscillator stop.

A power up reset signal pwrgood03 (see PWRGD3 in FIG. 21) is fed as analternative reset signal via inverter 2836 to a third input of NOR-gate2834, so that when power is coming on and lacks "good" status (pwrgood03low), the inverter 2836 output goes high, forcing the output of NOR-gate2834 low, and preventing the oscillator 706 from being stopped (or keptfrom starting) on power up.

Refer now to a circuit section 2840 which provides an output on line2841 to NAND-gate 2808. The input signals of circuit section 2840 are asfollows:

region 6: a configuration register bit 6 establishes a clock mask viasoftware entry in bit 6

hpclk: a high speed clock at half of crystal frequency (25 MHz withnominal 50 MHz. crystal)

smi₋₋ in: a system management interrupt interlock

hnmi: presence of a nonmaskable interrupt

hintr: presence of any ordinary interrupt.

The configuration bit six when high is turned into a low-active setpulse for flip-flop 2810 by being clocked by clock hpclk through twocascaded latches 2842 and 2844 to produce an inverted Qx output which isfed to respective first inputs of a NAND gate 2852. Configuration bitsix itself is fed directly to a second input of the NAND gate 2852. Theoutput of NAND gate 2852 is fed to a low-active set input of flip-flop2810.

The configuration bit six when low is converted into a low active resetpulse for flip-flop 2810 because the Qx output of the cascaded latchesalso goes to a first input of an OR gate 2854, and bit six goes directlyto the other input of the OR gate 2854. This OR gate 2854 has its outputlow when both its inputs are low, thus providing a reset low toflip-flop 2810 via intervening gates 2864 and 2862.

Power up reset signal pwrgood03 is fed to a low-active reset input offlip-flop 2810 and to a third input of NAND-gate 2852. In this way, whenpower is coming on but is not yet at "good" status, pwrgood03 is low andlifts any set input to flip-flop 2810 via AND-gate 2852 while resettingflip-flop 2810 at a reset input of the lower NAND gate thereof.

An alternative source of low-active reset to flip-flop 2810 is providedby a NOR-gate 2862 which has three high active inputs responsive tointerrupt hintr, nonmaskable interrupt hnmi, and the output of NAND gate2864. For this purpose, NAND-gate 2864 acts as an or-function for threelow active inputs: 1) smi₋₋ in, 2) hmaskclk (anded by NAND 2812 withsuspendx), and 3) the output of OR-gate 2854 (configuration bit 6low-active pulse when bit 6 goes low).

The circuitry 2840 provides functions that confer system advantages.

Among these advantages are, first, that setting configuration bit 6 highcauses the CPU clock to be suspended via signal suspx except when aninterrupt occurs, whereupon the interrupt is serviced by CPU activitywith suspx lifted.

Second, setting configuration bit 6 low lifts the suspension of coreclock for activity in addition to interrupt service.

Third, when PPU 110 introduces mask clock pulses (hmaskclk), thecircuitry remarkably overrides a high configuration 6 without requiringa time-consuming software step of updating that register bit. Thislatter advantage is introduced by coupling the gates 2812 and 2814 formask clock from PPU 110 back into the logic 2840 at gate 2864 to resetthe flip-flop 2810 and lift the suspension imposed outside ofinterrupts.

In FIG. 35, the process of operation introducing the mask pulses intocircuit 2840 of FIG. 33 is shown step-by-step in waveform diagram form.In a first step "1" the register bit 6 is set high by software, causinga set pulse to flip-flop 2810 that takes line 2841 high and suspx low tomask the core clock. After an indefinite intervening time 3002, it isdesired that PPU 110 start cycling the mask clock pulses instead ofleaving the mask clock signal high. In a second step "2" the maskclksignal goes low, taking flip-flop line 2841 low via logic 2812, 2814,2864, 2862 and 2810. Since mask clock low keeps the CPU core suspendedvia logic 2806-2816, this logic responds in third step "3" toconfirmation of mask clock activity wherein mask clock goes back high,whereupon core suspend signal suspx goes high, lifting the suspenddirectly by mask clock activity and without any software intervention.

FIG. 34 is a further schematic diagram of power management circuitry inthe MPU for supplying a Resume signal hresume to the circuitry of FIG.33. First notice that stop oscillator signal hstoposc (see also FIG. 33)when high during a time interval 2910 of FIG. 32 will force a NOR-gate2902 output ENX low, which in turn forces resume signal resume low via aNAND gate 2904 and succeeding inverter 2906.

Resume signal hresume is variably delayed from the end of interval 2910of FIG. 32 to its eventual return to high at transition 2714 by counterlogic 2920 feeding a latch 2922 feeding a first input of a NOR-gate 2924feeding a second input of the NOR-gate 2902. Power on reset signalpwrgood03 when high qualifies counter logic 2920 and further via aninverter 2926 qualifies NOR-gate 2924. Latch 2922 is clocked by a NORgate 2923 which supplies a high transition to the clock input of the NORgate 2923 when both 1 x and 2 x clocks become low.

NOR-gates 2924 and 2902 also act together as a set-reset flip-flop withhigh-active output hresumel, wherein hstoposc is a high-active resetsignal, and the output of latch 2922 is a high-active set signal. Notethat hstoposc is the same as STOPOSC and HSTOPOSC of FIGS. 32 and 33.

Start Count signal STARTCT is generated by a pulse former 2918transitorily supplying a reset input to counter 2920 of FIG. 34 inresponse to a low-to-high transition of STOPOSC# (STOPOSC inverted) asindicated by the STARTCT label in FIG. 32. Release of SUSPEND condition(HUSPENDX low) in FIG. 33 can cause this STARTCT response, for example.

In counter logic 2920, pwrgood03 and resume low jointly act as anenabling signal, whereupon when the STARTCT transition in STOPOSC ofFIG. 32 occurs, the counter 2920 (clocked by 1 x pulses at nominally 25MHz. from 50 MHz. crystal pulses divided by 2) starts to count up (ordown) from zero or any suitable predetermined multi-bit value. Duringthe count, the output 2921 of counter 2920 is low. This low is clockedthrough latch 2922, and NOR-gate 2924 output is high. At this time NORgate 2902 output is forced low, inactivating the enable ENX (via aninverter) and holding the resume signal low.

In this embodiment, the circuitry of FIG. 34 is looking for apredetermined number of clock pulses 1 x from the crystal oscillatorbefore the oscillator is regarded as having successfully startedwhereupon resume can go high. Notice that the pulses may be irregular inspacing at first, and the circuit simply counts the pulses that dooccur. If the counter has not found the predetermined number within theabout-30 microsecond period of the 32 KHz. clock, then that h32 KHz.input resets the count.

When the count in counter 2920 reaches at least a predeterminedthreshold value (e.g., 152) representing production of that many clockpulses by the 1 x oscillator, its output 2921 goes high, latch 2922output goes high, flip-flop 2924 output goes low whereupon NOR-gate 2902output hresumel goes high (unless hstoposc goes active high to stop theoscillator). Note that the counter is suitably alternatively configuredto count down to zero from a preset value. Attainment of the countingevent causes enable signal ENX to go active (low) and enable block 3620of FIG. 36 to output clock from MPU 102. Also, NAND gate 2904 becomesqualified by signal hresumel, and the output resume goes high as soon asa stability signal stbl input to AND-gate 2904 goes high from aclock-doubling phase-lock loop (PLL) indicating the PLL has stabilizedand is producing clock doubled clock pulses closely controlled in dutycycle value (e.g. 50%).

FIG. 36 is a partially block, partially schematic diagram of a clockingand control circuitry embodiment of the MPU of FIG. 5, and should beread in conjunction with MPU FIGS. 9, 33 and 34. In FIG. 36, MPU 102 hasblock 701 including a 486 CPU core 702, a PLL 706, and the PMU 708 ofFIG. 33. Outside block 701 and in MPU 102 is also memory control unitMCU 718, PCI bus bridge 716 and counter circuit 2900 of FIG. 34. PMU 708has external terminal pin inputs for SUSPENDx and MASKCLKX, internalinputs FIDLE from CPU core 702, HSTOPFMMCU from MCU 718 and RESUME fromblock 2900, and internal outputs HSTOP2MCU to MCU 718, suspend SUSP, andHSTOPOSC to oscillator OSC and counter block 2900.

In an important improvement, clock buffer 3610 is interposed between PLL706 output and the phase1/phase2 clock input of the CPU core 702. Outputsuspend SUSP from PMU 708 is fed to an enable input of the clock buffer3610. This improvement confers advantages of suspending core 702 in oneclock cycle, and subsequently resuming core 702 in one clock cycle.Resuming, which is a process step of returning to high speed clockoperation after a suspend, advantageously can occur without a core resetand free of core register restore operations, since the core 702 hasstatic circuits that retain their data even when the clock is supendedby PMU 708 and buffer 3610. The availability of this suspend mode savespower in coordination with the power management process and powermanagement control circuitry 920 of PPU 110 responsive to the processand control circuitry 1620 in PCU 112.

In MPU 102 a clock crystal X1 cut for 50 or 66 MHz for example, isconnected via two pins to an on-chip oscillator circuit OSC which inturns provides an output OSCOUT to a divide-by-two clock divider 3615which feeds a buffer 3617 that in turn connects to an input of aninverting clock buffer 3622 in a buffer block 3620. A second invertingclock buffer 3624 in said block 3620 is fed by a pair of cascadedinverters 3626 and 3628 supplied by undivided OSCOUT.

Buffer 3622 has an output connected to a terminal pin of MPU 102designated PCLKOUT (or OUT1X) which supplies the external clock buffercircuit 180 of FIG. 5. The circuit 180 shown in more detail in FIG. 36has respective clock buffers which resistively drive the bus clockinputs PCLKA (pin PCLK) for MPU 102, PCLKB for PPU 110, PCLKC for PCU110, PCLKD and PCLKE for devices 210 and 220 of FIG. 5 and PCLKF fordisplay chip 114.

Input PCLKA returns the MPU divided-by-two bus clock from buffer 3622back into MPU 102 with timing essentially the same as for all the otherchip clocks PCLKB-F, and clock skew in the system 100 is advantageouslyminimized. An internal inverting clock buffer 3631 fed by PCLKA suppliesa clock HPCLK (host clock) to both the 1 X CLK input of block 2900 andthe HPCLK input of PCI bus bridge 716.

Buffer 3624 supplies undivided clock to an output terminal pin fornumerical processor unit clock NPUCLK of MPU 102 which is connected onprinted circuit board 302 via a buffer in block 180 and resistance toFPU 108. This clock thus buffered is also returned via the resistanceback to a terminal pin FB2 of MPU 102 and connected to the input of aninverting clock buffer 3633. The output HCLK2 of buffer 3633 is suppliedto clock-multiplying PLL 706, MCU 718, PCI bus bridge 716 in MPU 102,and to the 2 X clock input of counter block 2900.

Counter block 2900 has input STBL connected to an output from PLL 706indicating that the PLL has stabilized. The clock input CLK of block2900 in FIG. 36 is marked CLK, is fed by inverter 3631, and is called"1X" in FIG. 34. Counter block 2900 is reset at input RST of FIG. 36 by32 KHz. clock and as described in connection with FIG. 34.

FIGS. 34 and 36 counter block 2900 output ENX is connected to both oftwo low-active enable inputs of inverting clock buffers 3622 and 3624 ofbuffer block 3620. Advantageously, the clock control provided by block2900 ENX and buffers 3620 is responsive to the PCLKA input delayed bythe external board 302 environment to stop and/or resume both thePCLKOUT and NPUCLK outputs generated internally in the MPU 102. In thisway, timing is maintained and skew is minimized, while realizing singlecycle stops and resumes for the whole chipset and system 100.

FIG. 37 is a block diagram of frequency-determining crystal connectionsand clock lines in the system embodiment of FIG. 5-7. In FIG. 37 theclocking scheme includes four frequency-determining quartz crystalsX1-X4. Crystal X1 is the nominally 50 or 66 MHz. crystal (much higher orlower frequencies also suitably used) connected to MPU 102. The PPU 110has three crystals X2 at nominally 48 MHz, X3 at nominally 14.318 MHz.and X4 at nominally 32.768 MHz. All frequencies may be higher or lowerfor achieving the design purposes of the skilled worker in preparingvarious embodiments.

When the system is in 5V SUSPEND, most of the subsystem clocks insidePPU 110 are disabled.

The SUSPEND# input is used to generate a signal STABLEOSC which goes lowimmediately when SUSPEND# input is asserted, and goes high 58.6milliseconds after the SUSPEND# input is deasserted. This signal is usedto stop clocks to most of the subsystems of PPU 110. The delay of 58.6milliseconds advantageously ensures that the oscillator output has beenstabilized before the clock to different sub-blocks is started. Thedisabling and enabling of the clocks is done in such a way that noglitches are produced, i.e. that a minimum pulse width of clock pulsesis maintained. Further, any clock generated by PPU 110 that goes offchip has a signal that when stopped has a low logic level.

Referring now to both the oscillator-related diagrams of FIGS. 37 and 24(regarding circuits 920A, 920B), an OSCOFF signal is connected to aPWRDN pin of the 48 MHz. and 14.31818 MHz. oscillators. A STABLE14 MHZsignal, indicating that the 14 MHz. clock has become stable, isgenerated to gate out the 14.31818 MHz. clock to an OSCOUT (also calledOSC₋₋ CLK) pin. When the STABLE14 MHZ signal is low, the OSCOUT pin isheld low, and when STABLE14 MHZ signal goes back high, the OSCOUT pinstarts generating 14.31818 MHz. clock again, without glitches. TheSTABLE14 MHZ signal is deasserted low before OSCOFF signal isdeasserted, and is asserted high after a STABLEOSC (OSC STABLE in FIG.24) signal has been asserted. The 14.31818 MHz. OSCOUT clock is drivenfor about one hundred (100) milliseconds (msec) after the SUSPEND#signal is asserted to allow the VGA display subsystem to go through apower down sequence.

Most peripheral subsystems do not require explicit clock control. Clockcontrol, however, is described here for the floppy disk subsystemFDC/FDS. The clock to FDC/FDS subsystem is controlled by an FDCIDLEoutput of an FDC block. When the FDCIDLE signal is asserted, the clockto the FDC/FDS module is stopped. Clock is not stopped to the ECPparallel port or the serial port modules.

The 32.768 KHz. clock runs continuously throughout the suspend/resumesequence and RESET stays inactive throughout. The external clocksPCICLK, KBRDCLK, 14.3 MHz clock transition from full speed to zero orvice-versa. SUSPEND# is used to shut off all oscillators in the systemexcept 32 KHz. A clock signal SUS₋₋ 32 KHZ is a 32 KHz clock signalsupplied by PPU 110 to MPU 102 and used primarily for suspend mode DRAM106 refresh timing. When SUSPEND# is lifted by a rising edge thereof, acircuit is enabled and produces a OSC 14MHZ STABLE signal after apredetermined number of 32 KHz clock cycles that insures that the 14MHz. oscillator has stabilized. PWRGD3 inactive immediately enables allstable clock outputs.

The KBC₋₋ CLK output from PPU 110 is supplied to the keyboard controllerand scanner. This clock is derived from appropriate frequency divisionfrom the 48 MHz. crystal to produce any selected one of sixteen, twelve,eight, or four (16/12/8/4) MHz. clock rates, and its duty cycle ispreferably kept near 50% (such as between 40% and 60%).

FIG. 38 is a block diagram showing an interrupt routing system using oneor more PCUs 112 connected to an interrupt routing circuitry embodimentin the PPU 110, with outputs for connection to the MPU, detailing thesystem embodiment of FIGS. 5-7. In FIG. 38, a system embodiment has acombination of the PPU 110 and one or more PCU blocks designated PCU112.0, . . . PCU 112.n. The PPU 110 shadows the PCU 112 interruptrouting registers in block 1616.

This circuitry overcomes problems existing heretofore. Software iswritten to route PCU card interrupts and Card Status Change interruptsto any of ten different standard PC interrupt lines, or channels. ThesePC interrupts are called IRQ3, IRQ4, IRQ5, IRQ7, IRQ9, IRQ10, IRQ11,IRQ12, IRQ14 and IRQ15. Other chips of this kind require a dedicated pinin the PPU for each such channel. This reduces the number of pinsavailable on the PPU for other functions.

The circuitry shown in FIG. 38 permits the PCU 112.n interrupts to betransmitted to the PPU 110 chip using only three wires. The PPU monitorshost processor writes to the PCU's internal registers and uses theinformation to route the three incoming interrupts to the ten standardPC-AT interrupts listed above. The three interrupt signals output by thePCU 112.n carry card status change interrupts, card A interrupts, andcard B interrupts. If the PCU 112.n only supports two peripheral cardslots then only two interrupt signals, one for card status change andone for card interrupts, would be needed.

When the host system processor writes to one of the interrupt routingregisters inside the PCU 112.n, the data is actually written to thecorresponding register in both the PCU 112.n and the PpUllO. When thehost system processor reads from a routing register address, only thePCU 112.n responds and the PPU 110 remains inactive. In this way thecontents of the routing registers in both chips is always the same andcan be used by the PPU 110 to route the PCU 112.n interrupts.

PPU 110 shadows some of the PCU 112 I/O registers that define PCMCIAcompatible interrupt routing so that PPU 110 can route the interruptsinternally to the appropriate interrupt request IRQ lines on behalf ofeach PCU 112.

Three signals from PCU 112 to PPU 110 carry interrupt signals from PCU112 card A circuitry, PCU 112 card B circuitry, and status interruptsfrom both card A circuitry and card B circuitry. Information stored inconfiguration registers in 1616 IGC and IGR for cards A and Brespectively within each PCU 112 define how these interrupts are to berouted to any one of the ten possible IRQ lines of the AT type ofIBM-compatible computer.

For example, a modem interrupt request (IRQ) in an AT-system goes to apredefined IRQ line in the system, but another peripheral such as a harddisk drive goes to another predefined IRQ line. Since cards withdifferent functions are or can be plugged at different times into thesame PCMCIA card slot, the PCU 112 needs to sort out which IRQ line willcarry the IRQ corresponding to the device in the card slot.

PPU 110 also captures this information when it is being supplied alongbus 104 to each PCU so that it is shadowed in corresponding registersCSINT3-0, CBINT3-0 and CAINT3-0, in register set 1222 in PPU 110 foreach card A and B. These registers in register set 1222 correspond tothe registers in register set 1616 as follows. ICR A and ICR B areshadowed in CSINT3-0. IGCA is shadowed in CAINT3-0. IGC B is shadowed inCBINT3-0. These registers in register set 1222 in PPU 110 enable theinterrupt routing control circuitry 3820 inside the PPU 110 to route theinterrupts to the IRQ lines of PPU 110 in the correct manner of theinternally-implemented fast ISA (AT) bus inside the single-chip PPU 110.

By loading in the Interrupt Control block 914 the identifier of thedefined IRQ channel, as determined by the information stored in theshadow registers in register set 1222, the Interrupt Control block 914is able to identify to MPU 102 the defined IRQ channel for the interruptsent to MPU 102 on line INTR in response to the receipt of an interruptfrom PCU 112.n in logic unit 3820, when subsequently interrogated by MPU102 in accordance with conventional ISA interrupt signaling procedures.

The PPU 110 identifies PCI I/O writes on bus 104 destined for the PCU112 index and data registers at I/O addresses 3 EOh (h=hexadecimal) and3E1h respectively. If the index written to the I/O location 3E0h matches03h, 43h, 05h, or 45h, representing the addresses of CAINT3-0 (03h),CBINT3-0 (43h), and CSINT3-0 (05h and 45h), the data written to dataregister 3E1h is stored internally in the corresponding register inregister set 1222 by the PPU 110. This information is used to controlthe interrupt routing as described below. This information can be readback from PPU 110 at PCI base address 50-51, as described in connectionwith the PCU Interrupt Shadow Register. Note that the PCU InterruptShadow Register in 1222 is updated every time the corresponding PCU 112registers in 1616 are written, using I/O accesses, without handshakingto the PCI bus as would be the case in a PCI transaction, but theregister can also be updated by directly writing to PPU 110configuration base address 50-51, recognized by I/F block 902. Anyprevious shadowed information is thereby lost. In this way PCMCIA CardServices and Socket Services software (that may prefer to program PCUregisters via PCI configuration cycles) advantageously can writeappropriate interrupt routing information to the PPU interrupt routingcontrol register.

Some configurations of the PCU 112 allow it to reset some of itsregisters and to disable interrupt routing automatically when a cardsuch as card A or B is removed from a socket. Since the PPU 110 cannotdetermine whether a PCMCIA card has been removed from a PCU socket, itwould not disable interrupt routing automatically. The system thereforeappropriately generates a Card Service interrupt CRDSRVRQ when a card isremoved, and the interrupt service routine in software suitably isprogrammed in a process embodiment to include a process step implementedin computer code to disable the interrupt routing inside the PPU 110.

In the tables in this Detailed Description for the PCU 112 registers,the Interrupt and General Control (IGC) Registers are 8 bits each foreach card A or B. The LSB four bits CINT3-0 in IGC-A select the routingfor PC card I/O interrupts for card A. The LSB four bits CINT3-0 inIGC-B select the routing for PC card I/O interrupts for card B.

Analogously, the Card Status Change CSC Interrupt ConfigurationRegisters ICR are 8 bits each for each card A or B. The LSB four bitsSINT3-0 in ICR-A select the routing for CSC interrupts for card A. TheLSB four bits SINT3-0 in ICR-B select the routing for CSC interrupts forcard B.

Tables for the interrupt routing configured by the codes in each of thisfour bits CINT3-0 for A and SINT3-0 for A, and likewise for B are shownin tabulations 0000-1111 embedded for those bits in the larger chartselsewhere herein describing the IGC and ICR registers.

When PCU 112 is used as a standalone device in a computer system, itsuitably routes status change interrupts from card A and card B ontorespective selections through selector mux 3810 to ten interrupt linesand pins shown in FIG. 38 as IRQ 3,4,5 plus seven Other IRQs. However,when the PCU 112 is used in the environment of system 100 as diagramedin FIG. 38 and called a Chipsetname environment (Chipsetname Enablebit=1), the three interrupt outputs from FIG. 31 XNOR gates 2692, 2694,2696 are advantageously routed directly through selector 3810 to threecorresponding predetermined IRQ pins, here IRQ3,4,5. The ChipsetnameEnable bit is bit zero (0) in the Initialization Register tabulated withthe Extension Registers for PCU 112 elsewhere herein. When thisChipsetname Enable bit is reset by default or by software to hold avalue zero, then the standalone device mode for selector mux 3810 isselected.

The PPU 110 shadows the PCU 112 register locations that define statuschange interrupt routing for both card A and card B, but internal to thePPU 110, only one shadow register (the PCU Interrupt Shadow register in1222 of PPU 110) is maintained in the preferred embodiment. As a result,if PCU 112 were set up to route card A and card B status changeinterrupts to separate IRQ lines, the PPU would only respond to theinterrupt routing request that was most-recently programmed. Forexample, if PCU 112 is programmed to route card A status changeinterrupts to IRQ4, and later, card B status change interrupts arerouted to IRQ7, the PPU 110 routes all the status change interrupts toIRQ7. However, current PCMCIA Card Services and Socket Services softwareis expected to write the same value to both register ICR A and ICR B. Inany event, in this way, the important system information that at leastone card has had a status change is efficiently routed to the PPU 110with only one line for card service interrupt request CRDSRVRIORQ.

The SMIEN bit (Bit 4) of shadowed exchangeable card architecture offsetlocation 03h, 43h determines whether the PCU 112 card status change CSCinterrupts are routed to SMI pin of the PCU 112, or to AT-compatible IRQpins. If AT-compatible IRQ routing is selected, then the SINT3-0 bits(bits 7,6,5,4 (7:4)) of the IGR registers (registers 05 and 45)determine how card status interrupts are to be routed, as shown in theSINT3-0 table for those registers.

FIG. 39 is a waveform and process of operation diagram for selectedsignals in logic circuitry 3820 of FIG. 38 responsive to the threeinterrupt requests for Cards A and B and Card Service. Logic 3820supplies these signals to a selector mux 3830 which routes the threeinterrupts according to the shadowing information CSINT3-0, CBINT3-0,CAINT3-0 to interrupt controls as shown in FIG. 43. Since the threeinterrupt requests may have unpredictable length, and the interruptcircuitry advantageously uses signals of predetermined length, the logic3820 is responsive to produce a signals, such as signal QA, ofpredetermined length for card A, and analogous signals QA for the othertwo interrupt requests CRDBIORQ and CRDSRVRQ.

FIGS. 40 and 41 describe processes of operation for fair rotation inarbitration by arbiter 906 described elsewhere herein in connection withPPU 110 of FIG. 11.

FIG. 42 is a more detailed block diagram of a fast internal PPU bus 904with parallel port 938 embodiment of the PPU of FIG. 11, as describedelsewhere in connection with that parallel port 938. Note that thepinout to external terminals is elsewhere tabulated for the parallelport interface 4245. The description here concentrates now on theconnections to the interface 4210 to on-chip improved Fast-AT bus 904.Two sets of 16-bit data sub-buses SDO and SDI are respectivelyspecialized to carry input on bus SDI to inputs SDI15-0 of I/F 4210, andto carry output from I/F 4210 to the lower byte lane SDO7-0 of bus SDO.Data is transferred between SDI and SDO data buses by SDI/SDO interfaceI/F 4260. The SDI data bus is connected to reflect the state of anyexternal inputs and of any internally-generated SDO bus outputs sentexternally. By contrast, when the SDO data bus carries internallygenerated signals to internal destinations, the SDI and SDO states willdiffer. This arrangement advantageously eliminates much three-statecircuitry in one embodiment. In this way, not only is the clock speed ofbus 904 higher than in a corresponding AT-type external board-based bus,but also the width of the data bus is doubled, due to the on-chipimplementation of bus 904 and the peripherals connected thereto in FIG.11 and 42.

Control CTRL lines for I/O read IOR# and I/O write IOW# connect to I/F4210. Three address lines SA2-0 from the SA address sub-bus of bus 904are also supplied as address inputs to I/F 4210. Chip select signals forparallel port chip select PPCS# and extended capabilities port ECP chipselect ECPCS# are decoded by block ADR DECODE from the full width of SAbus. DMA request PDRQ is connected from I/F 4210 of the parallel port tothe DMA block, and the DMA acknowledge line PDACK# returns from DMA toI/F 4210. A parallel port interrupt request line PIRQ also is provided.Clocking by SYSCLOCK is provided. Data router 1210 is fed signals fromI/F 4210 for parallel data output enable PDOEN# and parallel port readenable PPRDEN#.

FIGS. 43 and 44 are more detailed block diagrams of interrupt routingcircuitry as described elsewhere in connection with the PPU interruptblock 914 of FIG. 38. Interrupts from ISA cards in a docking station 7of FIGS. 70 and 65 also are communicated serially to and output from asideband serial port 7010 in PPU 110. These interrupts IRQX are routedvia interrupt router block 3830 to the particular IRQ-numbered interruptinput line (to controller 914) to which the identity of each ISA cardcorresponds under ISA technique. This routing is established in a firstembodiment by simply jumpering the ISA cards in the docking station in apredetermined manner and then OR-ing all IRQx lines in block 3830 to thecorresponding IRQ-numbered input line of controller 914, provided therouting of card A, B and Card Service interrupts can be known orcharacterized beforehand. In a second embodiment, an additional controlregister set up by BIOS from bus 904 supplies control information forthis routing, and routing circuitry 3830 is responsive to the controlinformation to keep any two interrupts from the docking station and thePCU 112 from driving the same IRQ-numbered input to controller 914.

FIG. 45 is a flow diagram of a process or method of operation of thepreferred embodiment system of FIGS. 5-7. In FIG. 45, PMU (PowerManagement Unit) hardware in PPU 110 notifies BIOS software 4510 ofsystem management events by sending SMI interrupts to MPU 102 whichexecutes the BIOS software 4510. BIOS software sends commands byprogramming the configuration registers 712 of MPU 102, 1222 of PPU 110,1616 of PCU 112, and configuration registers in each of the otherdevices connected to bus 104. An operating system (OS) 4520 such as DOSor WINDOWS or any other operating system having a power managementfeature polls events from information supplied by BIOS 4510, and returnsa CPU IDLE notification to the BIOS 4510. The operating system providesnotification of system events to Applications software 4530. Either orboth of the OS and/or the Applications provide interrupts to powermanagement software 4540. Power management software 4540 provides anoutput for T(on)/T(off) adjustment of the TONTOFF register in PMU 920hardware of PPU 110.

Advantageously, the embodiments described herein are compatible withpassive and active power management algorithms. Passive power managementalgorithms reactively adjust the CPU clock based on system activity(inactivity) timers such as those of FIG. 25. Active power managementalgorithms estimate CPU activity, and can be adaptive in nature.

FIG. 46 is a flow diagram of a process or method of operation for powermanagement adjustment of a TONTOFF register of FIG. 27 in the preferredembodiment system of FIGS. 5-7. After BEGIN and an initialization of theTONTOFF to an initialization value such as 50% duty cycle in a step4605, operations go on with a test step 4610 for system idle status,which is repeated until an idle status is found, whereupon operationsproceed to a step 4620 to check for 55 ms. timer tick interrupt IRQO.When that interrupt is detected, operations go on to a step 4630 tomonitor the keyboard, mouse, display VGA, hard disk, timers and statuscounters of PMU 920 in PPU 110 as well as activity timers in PCU 112. Inthis approach, the high 4 bits (or all if desired) in each of the eightcounters of FIG. 25 are concatenated and read via bus 904 by softwareaccording to step 4630 periodically (e.g. on each IRQO DOS timer tick).

Next in a step 4640, the process computes a criterion function F of thevalues in the timers and counters. One example of criterion function Fis a minimum (min function) of various values in the timers suitablyweighted. FIG. 47 shows a structure for supplying data for a version ofthis approach, wherein the listed system trigger signals of FIG. 47 aresuitably selected or masked by software write to mask registers 4710,and then the selected (unmasked) trigger signals are ORed together by anOR-gate 4715 to a common TRIGGER reset input of a counter 4720. Notethat any FIG. 47 monitored or unmasked system activity betweenconsecutive keystroke trigger events also produces a trigger of its ownto freeze the counter for a read and subsequent reset at input RESETBand restart by gating in the CLOCK. Thus, the counter combines systeminformation for all unmasked system sources to provide a time betweenany event and the next event which may be of the same type or anothertype of system event. The value in the counter upon each trigger eventis read over data bus 904 by software of step 4630 and translated instep 4640 to provide the function F latest value. Since some scatteringor variability of counter data in this approach is to be expected evenin a system steady state, some averaging of plural successive countervalues is utilized in an example embodiment. Some low predeterminedvalue in counter 4630 is translated to be the function F zero value orlow threshold Th0. Some higher predetermined value, or the maximum valuethat counter 4630 can have, is translated by subtraction and scaling tobe a halt threshold or high threshold Th1 (scaled to be unity, forexample). Another example of a criterion function F for step 4640 is aweighted sum of the values in the timers, with the weights determined sothat the process operates to minimize power consumption. A special caseof the weighted sum concept applies zero weights to (or ignores) sometimers. A simple special case simply monitors the VGA timer of FIG. 25to follow keyboard and mouse activity.

In a succeeding test step 4650, the criterion function F value computedin step 4640 is compared with a predetermined first threshold value suchas zero. If the criterion value is less than the first threshold value(YES condition) due to substantial user demand and system activitycausing low elapsed times in the timers of FIG. 25 for example, thenoperations loop from step 4650 back to step 4610 via a recordkeepingstep wherein a note is made that the criterion value is deemed to beequal to the first threshold value (e.g. 0). However, if the criterionvalue F exceeds the threshold value due to low user demand (e.g. nokeystrokes and mouse activity) and low system activity, then operationsinstead proceed from step 4650 to a step 4660.

In step 4660 the criterion function is compared to a second thresholdvalue to determine whether the system should merely be slowed down, orshould be halted. If system activity is so low that very long timervalues are occurring on all the timers, for example, then operationsproceed to a step 4670 to initiate a halt, such as to actively causeentrance to a Suspend state or mode by writing to bit 13 (SUSPBTN) ofregister SOURCE₋₋ SMI to simulate the use of the Suspend Button 32. Thenin a step 4675, recordkeeping sets Of to a deemed value equal to thesecond threshold, or halt number of step 4660, whence operations loopback to step 4610.

If in step 4660 criterion value F is insufficient to justify halt,operations branch to a step 4680 to update the TONTOFF register 2510 inFIG. 27. The updated value is determined according to a selectedcomputation which provides one or more advantages such as stability ofcomputed result in a system stead-state, freedom from hunting or erraticbehavior in the TONTOFF value, relative speed of adaptation to newconditions, reduction in power consumption, user convenience, and atleast approximate and preferably very close to optimum power managementcontrol.

In a first example, the updated value is computed as

    TONTOFF= (Th1-F)/(Th1-Th0 )!×128,                    (1)

where Th1 is the halt number threshold of step 4660 and Th0 is thecriterion first threshold (e.g. 0) of step 4650. So when Th0 is zero,the second example update value is one minus ratio of criterion functionF divided by Th1 . This first example provides all the above-listedadvantages and trades off a little smoothness in change for speed ofchange because one value of F is used.

In a second example, an averaging filter process is employed wherein thecurrent F value and the recordkeeping value Of are averaged and used inplace of F in the equation (1) of the first example:

    TONTOFF={ Th1-(F+Fo)/2!/(Th1-Th0)}×128               (2)

This second example provides all the above-listed advantages and tradesoff a little speed of change for more smoothness of change because twovalues of F are used. More F values windowing n loops of the process4540 can be used if the greater complexity of computation and reductionin speed of change are acceptable. The process of these examplesresponds to sensors of system activity to produce one or a plurality ofvalues between first and second threshold values and representative ofsystem activity and then repeatedly generates a control valuerepresentative of duty cycle in clock masking, as a function of the oneor a plurality of said values, whereupon a clock masking circuitcontinually responds to the control value to establish and continuallymodify the clock masking function to power-manage the operation of thesystem. To achieve adaptive CPU clock control, the thresholds Th0 andTh1 and/or the criterion function F itself are dynamically adjustedbased on errors in CPU activity prediction.

Following the TONTOFF update of step 4680, operations pass to arecordkeeping step 4685 where recordkeeping value Fo is given thecurrent value of criterion value F, whereupon operations loop back tostep 4610.

In a simple example, let Th1=1, Th0=0 without loss of generality. Letrecordkeeping value Fo=0 initially, TONTOFF=50%, and F is first computedas 0.4 perhaps largely determined, for example, by a series of userkeystrokes at a slow rate. Using the formula of the second example,

    TONTOFF={ 1×(0.4+0)/2!/(1-0)}×128=102 (decimal)

In a next loop through process 4540, Fo=0.4, recordkeeping on the firstvalue of F. Now suppose the system adjusts and operates and a new valueof F comes in at 0.6 indicating the slowdown. Now the second iterationon decrement becomes

    TONTOFF={ 1-(0.4+0.6)/2!/(1-0)}×128=64 (decimal)

Thus, process 4540 implements a servo loop that homes in on an optimumbehavior that varies over time for TONTOFF and thus for the powermanagement of the system that satisfies user demands. Different versionsof process 4540 that use other servo loop or filtering formulas andsteps are contemplated where these provide faster control behavior orotherwise tune the power management system.

FIG. 49 shows a structural diagram of an adaptive CPU clock control forpower management. Various observations such as counter and timer valuesare obtained by sampling or sensing these values over time. Eitherhardware or software can provide the functions of observation andsampling in system, device, and process or method embodiments. In theprocess or method embodiment of FIG. 46, the sampling and observationoccur in monitoring step 4630. Next the values or samples thus obtainedare weighted in hardware or weighted by computation as described inconnection with step 4640 of FIG. 46. Then these values are provided toa filter or servo structure. FIG. 46 implements this operation as therest of the steps in the process loop 4540.

FIG. 47 is a block diagram of a system activity timer embodimentalternative to the embodiment of FIG. 25 as described above inconnection with FIG. 46.

FIG. 48 is a block diagram of a keyboard polling monitor circuitembodiment for use to supply a trap signal to the SMI circuit embodiment2370 of FIG. 28. In FIG. 48 a counter 4810 is clocked by the output ofan AND gate 4820 fed by keyboard chip select signal KBCS and an SA2address input from bus 904. The counter 4810 counts the transitions atthe clock input, and is read for power management purposes on bus 904upon assertion of a Read Keyboard Polling Monitor READKPM# to an outputenable input of counter 4810. Also, for SMI purposes, all but a selectedbit of counter 4810 are masked off so that the bit is fed to SMI circuit2370 so that the bit is advantageously used for SMI purposes as well.

Further in FIG. 48, the count is reset in counter 4810 by an OBF outputfrom keyboard controller 118 fed to a clean-up latch 4830 via XD bus 116of FIG. 6. The cleaned up OBF output of latch 4830 is supplied to afirst input of a NOR gate 4840 the output of which is connected tolow-active reset input RST# of counter 4810. The second input of NORgate 4840 is fed from a clock of suitably long period to act as adefault reset source in case OBF does not reset the counter.

FIG. 49 is a block diagram of an adaptive CPU clock control system andmethod for power management as described above in connection with FIG.46.

FIG. 50 is a schematic diagram of a system environment sensing circuit.In FIG. 50 a system environment sensing circuit 3400 has a referencevoltage supply 3410, a 3.3 volt power-good sensor 3420 and a 5 voltpower-good sensor 3430 (all in supply 172), and an analog comparator3440 (in temperature sensor 140).

Reference voltage supply 3410 has a pair of diodes 3411 and 3412 withtheir anodes respectively connected to 5 volt and 3.3 volt sources andwith their cathodes connected together and to an electrolytic capacitor3413 to supply a comparator circuit supply voltage VCOMP. A referencevoltage VREF which is less than VCOMP is developed by a droppingresistor 3416 series connected to an avalanche diode 3418 across theelectrolytic capacitor 3413. A capacitor 3417 is connected across theavalanche diode 3418. The anode of the diode 3418 is connected toground, and the cathode thereof is connected to a line to supplyreference voltage VREF.

3.3 volt power-good sensor 3420 has a comparator operational amplifier3452 with its noninverting (+) input connected to a voltage divider 3454fed from 3.3 volt supply voltage. The inverting (-) input of op amp 3452is connected to reference voltage VREF. Op amp 3452 has voltage VCOMP asits supply voltage, has its output connected to the PWRGD3 output line,and has a hysteresis resistor 3456 connected between its output and its(+) input. A switch 3460 forces the input to zero volts for disabling ortest purposes.

A 5 volt power-good sensor 3430 has the same internal circuit as shownfor sensor 3420, so that circuit shown in block for brevity. A switch3465 independent of switch 3460 forces the input low on the op amp insensor 3430 generating system wide resets for 3.3 and 5V power planes.The output of sensor 3430 is power-good 5 signal PWRGD5.

In temperature sensor 140 a temperature-responsive element 3470 such asa thermistor is thermally contacted or thermally conductively affixed tothe chip package 3475 of MPU 102 that is attached to PCB 302. In anotherembodiment element 3470 contacts inside the package 3475 itself to theactual substrate of MPU 102 integrated circuit physically located in thepackage.

A five volt supply voltage is connected by a jumper across a voltagedivider comprising thermistor 3470 in series with a resistor 3477. Theinverting input of an op-amp 3440 is connected to receive dividedvoltage from the connection between 3470 and 3477. The noninvertinginput of op-amp 3440 is resistively connected to reference voltage VREFby a resistor 3483. A hysteresis resistor 3481 links the output ofop-amp 3440 with its noninverting input. The output of op-amp 3440supplies the low active output TEMHEAT# to FPGA 124 of FIG. 6 and isconnected to a pullup resistor 3479 to VCCXD supply voltage for the XDbus circuitry. The advantage of hysteresis resistors 3456 and 3481 inFIG. 50 is to create a first threshold before the active signal isgiven, and then create a second threshold to which the condition mustretreat before the active signal is inactivated. This promotes stabilityin circuit operation and system control.

FIG. 51 is a block diagram of power supply connections for a system ofFIGS. 5-7. Note further that PPU 110 has different VCC voltage levels onthe same die as described in connection with FIG. 55. A standardAT-computer type power supply connector 5110 supplies voltage lines andsupplies a 3.3 v. linear regulator 5120 to provide VCC₋₋ 3. A batterypower supply connector 5130 has lines for 5V, 3.3V, and 12V for LCDcontrol, EPROM programming, and voltages for MPU 102, PPU 110, PCU 112,VGA 114 and the other chips in system 100, supplied to a set of jumpers5140, manual switches, or a software programmable VCC switch so thateach voltage source and line intended for the various chip VCCdestinations is effectively routed thereto. See the pinout tabulationsfor MPU, PPU and PCU, and the VCC tabulation in connection with FIG. 55.

FIG. 52 is a partially block, partially schematic diagram of a powersupply circuit for PCU 112 in the system of FIGS. 6, 8, 20 and 21. InFIG. 52, supply voltages 3.3V, 5V, and 12 V are distributed under thecontrol of PCU 112 using a commercially available TPS220X circuit. Ajumper block JP5 (or software programmable power switch) selectivelyroutes 3.3V or 5V to U11, and alios to the VCC pin of PCU 112 along aline POWER1 which is suitably RF-bypassed by capacitors 5210. Voltageprogramming outputs of PCU 112 for card A or B are the same as thecorresponding inputs of U11 marked on FIG. 52, see also pinouttabulation and FIG. 18. Card A and B supply voltages AVCC and BVCC aresupplied by circuit Ull both to PCU 112 and to the upper and lower levelcard connectors A and B of connector 306 of FIG. 8.

Card A and B programming voltages AVPP and BVPP are supplied by chip U11to the upper and lower level card connectors A and B. VPPGOODA# andVPPGOODB# outputs of circuit U11 connect respectively to pin inputs A₋₋GPI and B₋₋ GPI of PCU 112 which are described further in connectionwith PCU 112 elsewhere herein.

The SUSPEND# line of FIG. 20 from PPU 110 is fed to a low-activeShutdown input SHDWN# of circuit U11. Because circuit U11 of FIG. 52cooperates closely with PCU 112 in this embodiment, they are shown inone block 112, U11 of FIG. 20.

FIG. 53 is a block diagram of a CPU-clock-rate temperature sensing andcontrol circuit embodiment for implementation in MPU 102 or PPU 110 ofFIG. 6. The illustration shows MPU 102 as the site, for example.

In FIG. 53, the CPU clock CPU₋₋ CLK of FIG. 36 (also designated asPH1/PH2 output of buffer 3610) is fed to a temperature sensing circuit5300 which advantageously monitors the actual MPU 102 activity. Circuit5300 has a counter 5310 which is clocked by CPU₋₋ CLK and provides cleanoutputs to a Latch A 5315. Latch 5315 is clocked by 32 KHz. clock, whilecounter 5310 has its reset input connected to sufficiently delayed 32KHz. clock to allow Latch A to capture the count before counter 5310starts over. The number of bits N in the counter 5310 is at least suchthat 2-to-the-N-power is about the same as or greater than the ratio ofthe CPU nominal core clock frequency at 100% MASKCLK duty cycle to thefrequency of the counter reset clock (here 32 KHz.). For a 66 MHz. CPUclock and 32 KHz. reset clock, the ratio is 2062, close to 2048 or2-to-11th power. Therefore, counter 5310 is at least 11 bits long inthis embodiment. The reset clock is set high enough to conserve counterbits in 5310 and low enough so that a substantial sample of CPU clockpulses is taken.

A Threshold Register B 5317 is loaded from local bus 714 (FIG. 9) with avalue indicative of the number in latch A 5315 which would keep thetemperature of MPU 102 constant, considering the ambient temperature,thermal resistance and convective cooling level for MPU 102. Next asubtractor unit 5320 outputs the difference A-B of the contents of LatchA and Latch B to an accumulating circuit 5330 which keeps a runningtotal of entries, and which is limited to positive values, and zeroingon negative totals (but not merely negative inputs). The contents ofaccumulator 5330 model the temperature of MPU 102 rising and fallingwith activity level.

The output of accumulator 5330 is supplied to each operand A input of apair of comparators 5340 and 5345. Over/Under temperature limit valuessupplied by software via bus 714 are loaded into respective registers5350 and 5355 which in turn respectively feed the B operand inputs ofcomparator 5340 and 5345. A comparator 5340 A greater-than B logic leveloutput and a comparator 5345 A less-than B logic level output arerespectively fed to the D data inputs of a pair of one-bit latches 5360and 5365. These two bits TEMP₋₋ HIGH and COOLED-DOWN respectively arereadable on bus 714 by power-management software. Accumulate circuit5330, and latches 5360 and 5365 are clocked by 32 KHz clock.

If an over temperature condition occurs, as indicated by an active oneTEMP₋₋ HIGH for example, the power management software or PMU 920hardware executes a process or method by which it issues a SUSPEND#signal to cool off MPU 102 until the COOLED-DOWN bit goes high and theTEMP₋₋ HIGH bit goes low, whereupon the system 100 is resumed. Comparedto the TEMHEAT# circuit of FIG. 50, the circuit embodiment of FIG. 53provides advantages of programmable hysteresis levels in registers 5350and 5355, as well as direct electronic sensing of the electronic circuitwithout actual thermal contact. On the other hand the TEMHEAT# circuitof FIG. 50 provides advantages such as direct thermal contact whichinherently takes account of ambient temperature, chip activity, thermalresistance and convection level without special modeling circuitry 5310,5315, 5317, 5320, 5330.

FIG. 54 is a block diagram of another temperature sensing and controlcircuit embodiment 5400 for implementation in MPU 102 or PPU 110 of FIG.6 and having fewer blocks. Local bus 714 can write to Over Temp register5350 and Cooled Down Register 5355, and can read output bits for TempHigh and Cooled Down.

In FIG. 54, 32 KHz. clock is divided by a frequency divider 5415 whichrolls over and triggers a one-shot pulse generator 5417 to periodicallysupply a Load signal to a LOAD terminal of a counter 5410 whereupon theover-temp register 5350 value is loaded into counter 5410. The highspeed CPU clock CPU₋₋ CLK clocks counter 5410 in a down-counter mode. Ifcounter 5410 counts so many clock pulses that it counts down to zero, aBORROW output goes active and clocks a latch 5420. Latch 5420 has its Dinput tied high, so that after occasional software polling reset R, aBORROW output passes the high D input to the Q output to activelyindicate a TEMP₋₋ HIGH condition.

A frequency divider 5425 down-count clocked by 32 KHz, a latch 5430 fedby divider 5425 Borrow, and Cooled Down Register 5355 for loadingdivider 5425, provide a programmable timing circuit which is activatedby or when TEMP₋₋ HIGH active at latch 5420. In this way, a programmabletime elapses upon TEMP₋₋ HIGH going active before a COOLED₋₋ DOWN outputof Latch 5430. Power management software or hardware resets latches 5420and 5430 in some system, device and method embodiments. Also, the resetis derived from the COOLED-DOWN output in another embodiment.

FIG. 55 is a schematic diagram of a circuitry embodiment for reducingpower dissipation at a boundary between differing-voltage areas 920A and920B of the PPU 110 also shown in FIGS. 6, 11, 12, and 20-22. Dualvoltage VCCs coexist on the same silicon device (such as PPU 110) toenable low power, multiple supply voltages and regions associatedtherewith to be integrated on the same device substrate. The die isphysically sectioned into different VCC wells or regions, and a specialdual voltage interface circuitry 5515 is used at the boundary each ofpair of VCC wells 5510.

For a single-VCC device, a ring of VCC and ground GND is provided aroundthe I/O buffer area at the periphery of the die or chip. For multipleVCCS, the VCC ring is segmented into different pieces, and the GND ringremains continuous or unsegmented. In the exemplary embodiment of PPU110 in FIG. 12 several rings are used:

V₋₋ 3: 3.3 volt supply for PMU 920A (unless 5 v. used), PCI/AT I/F 902,906, central region for 910,914,916

V₋₋ XD: 3.3V/5V selectable voltage for XD port

V₋₋ DK: 3.3V/5V selectable voltage for IDE IF/FDC 932, 934

V₋₋ 5: 5V supply for SIU 936 and PIU 938 and also for PMU 920A if 3.3volts is not used for PMU 920A

V₋₋ bat: 3 V battery supply for PMU 920A, RTC 918 and RAM 919

Pin numbers intermediate on the edges of the PPU 110 die of FIG. 12indicate specifically where the breaks of the VCC ring occur in terms ofI/O site location.

For a single-VCC device a grid of VCC and GND suitably exists in thecore of the device and not in the I/O buffer strip area around the edgesof the device. For multiple VCCs, the VCC grid is suitably isolated intoregions respective to each tabulated "V₋₋ " VCC above, advantageouslypreventing power supply shorts.

In the next description, a boundary between a 5 volt VCC PMU 920A and a3.3 volt battery powered PMU 920B is used as an example. Another equallyapplicable area is the boundary between the 3.3 volt central region for910, 914, 916 and the adjacent 5 volt region for SIU 936, PIU 938 andthe adjacent selectable 3V/5V region for FDC 932, IDE I/F 934.

In FIG. 55, an inverter 5512 with 5 volt VCC feeds an inverter 5514 with3.3 volt VCC in a signal path leading from higher supply voltage VCCsection 920A to lower VCC section 920B. In an opposite path, an inverter5516 with 3.3 volt VCC would, without more, feed an inverter 5518 with 5volt VCC in an internal signal path INT leading from lower supplyvoltage VCC section 920B to higher VCC section 920A. Signal swing on the3.3 volt inverter 5516 would be insufficient to prevent high currentevents in the 5 volt inverter 5518 wherein an upper p-channel FETtherein is partially on, and a lower n-channel FET is also partially on.

The embodiment in FIG. 55 avoids such power-wasting and heat dissipatingbehavior, first, by providing a positive feedback circuit or element onthe device 5518 on the higher VCC side of the boundary 5510. Suchcircuit is suitably, for example, a p-channel FET transistor 5520 havinga gate connected to the output of inverter 5518, and the source anddrain terminals thereof connected between the 5 volt VCC and theinverter 5518 input. An additional device 5522, suitably anopen-collector (OC) or open-drain inverter, is provided between theoutput of inverter 5516 and the input of inverter 5518. An n-channel FET5524 cooperates with OC device 5522 and assists high-to-low transitionsat the input of high VCC inverter 5518. FET 5524 has its gate connectedto the output of inverter 5518 and its source-to-drain path connectedbetween inverter 5518 input and GND.

Inverter 5516 high-to-low transition drives a 3.3 volt inverter 5526which in turn drives an "open-collector" (single n-channel FET) inverter5528, which in turn drives the output node of inverter 5518 and the gateof FET 5520 low. In this way, a high-to-low transition at inverter 5516output pulls down the inverter 5518 output node so that transistor 5520advantageously pulls the signal INT all the way to 5V.

Conversely, a low-to-high transition by inverter 5516 pulls the input ofinverter 5518 low via "open collector" inverter FET 5522, whereuponinverter 5518 output starts to go high, turning on the feedbacktransistor 5524 and accelerating the low-to-high transition at inverter5518 output with greatly reduced power dissipation. The OC inverters5522 and 5528 are sized sufficiently large relative to FETs 5520 and5524 to drive the operations described herein.

This arrangement provides good performance even if the 5V region 920Ahas its VCC changed or switched to 3.3V or even a lower voltage.

A NAND gate 5530 feeds a NOR-gate 5532 in a high-to-low VCC pathstraddling the boundary 5510. No special feedback elements are appliedto either of these two gates in this embodiment even when gate 5532 hasother inputs such as 5534 from the higher VCC side and 5536 from thelower VCC side. However, low-to-high VCC circuits straddling theboundary have feedback elements applied as with block 5515 and asfurther described next.

A lower VCC NAND gate 5542 feeds a first input of a higher VCC two-inputNAND gate 5544 on the 5 volt side. Accordingly, a power reductioncircuit 5515A identical to circuit 5515 is interposed between the outputof NAND gate 5542 and the first input of NAND gate 5544. A lower VCC NORgate 5548 feeds a second input of the higher VCC two-input NAND gate5544 on the 5 volt side. Accordingly, a second identical power reductioncircuit 5515B is applied between the output of NOR gate 5548 and thesecond input of NAND gate 5544.

Next it is hypothetically intended to drive three inputs of high-VCCNOR-gate 5560 respectively with 1) a low-VCC NOR-gate 5552, 2) a low-VCCNAND gate 5554, and 3) a low-VCC inverter 5556. Higher power dissipationis prevented by interposing circuits 5515C,D,E (identical to 5515)between the lower VCC gates 5552,5554,5556 and the 3 inputs respectivelyof high-VCC NOR-gate 5560.

The output of NOR-gate 5560 is coupled back across the boundary 5510 tofeed an input of a lower-VCC two input NAND gate 5570 without furtherfeedback provision.

In FIG. 66, a lower VCC open collector inverter 6610 has its gateconnected to a signal IN. A source-drain path of FET 6610 is connectedin series with the source-drain path of another FET 6612 to feed higherVCC inverter 6620 across boundary 5510. Since inverter 6610 is opencollector it can pull down the INT signal causing inverter 6620 to makeOUT go high. Advantageously, another open collector inverter 6640 andenabling transistor 6642 cooperate in the other direction and pull upthe INT node as next described. FETs 6612 and 6642 both have their gatesconnected to an enabling signal EN which when active renders themconductive.

An inverter comprised of pmos FET 6630 and nmos FET 6635 has both gatesconnected to OUT and to the output of open collector inverter 6640 viaFET 6642. The source and drain of FET 6630 are connected between the INTnode and 5V VCC, and the source and drain of FET 6635 are connectedbetween the INT node and GND. Another inverter 6650, having upper andlower FETs therein, has its input connected to the input IN of OCinverter 6610. Inverter 6650 has its output connected to the gate, orinput, of OC inverter 6640.

When IN is going from high to low, inverter 6610 is off and the outputof inverter 6650 goes high, taking the output of OC inverter 6640 lowwhich forces the output OUT low via transistor 6642 directly. This alsocauses transistor 6635 to shut off, and transistor 6630 to conduct,therefore pulling the signal INT to the higher VCC 5V supply voltage andcausing higher VCC inverter 6620 to output a hard low.

Advantageously, the principles and circuits disclosed in FIGS. 55 and 66as examples above confer power-reduction improvements to PMU 920 whichare applicable to all kinds of gates and circuit variations in dual VCCvoltage circuitry for multiple-supply-voltage applications. Also FIG. 66shows an example circuit useful in providing a three-state (floating)operation, thanks to the enabling/disabling transistors 6612, 6642, asfor a data bus connection at OUT on the higher VCC side of the boundary.

FIG. 56 is a pin diagram for a 208 pin PQFP package used for the MPU andthe PPU. The pin assignments are tabulated for each chip elsewhereherein.

FIG. 57 is a pin diagram for a 208 pin PQFP package used for the cardinterface MCU and related to operational regions of the MCU. The pinassignments are tabulated for them elsewhere herein.

FIG. 58 is a diagram showing a sequence of cost function graphs in amethod of determining a preferred system embodiment for FIGS. 5-7 andFIG. 8. A first graph 5810 shows assembly cost of a chip versus pinnumber qualitatively having a first low-slope rising portion 5812, ahigh-slope rising portion 5814, and another less-high slope risingportion 5816. A second graph 5820 shows combined cost of two chips whichtrade off pin numbers against each other. The first chip has portions5812, 5814, and 5816 as in graph 5810, and the second chip hascomplementary portions 5822, 5824 and 5826 that are the mirror image ofthe first portions due to the tradeoff. A sum curve 5828 of the firsttwo curves has a minimum near the average number of pins of the twochips plus/minus a low cost zone of delta of about 10% to 20% eitherside of the average. The next step in the analysis considers a graph5830 wherein three chips such as MPU 102, PPU 110 and MCU 112 trade offpin numbers in various partitions all comprising the systemfunctionality of system 100. The merit function is COST as a function ofpin number N1, N2, N3 for each of the three chips, where the sum of N1,N2 and N3 is a constant. In general the merit function is constrained bysome function F(N1,N2,N3) less than or =0. Analogous to graph 5820, thegraph 5830 shows a three-dimensional concave zone of cost that has aminimum cost region cross-hatched in FIG. 58. This region is centeredaround the average number of pins of the three chips AVGNR=(N1+N2+N3)/3.The region has a size between about plus/minus 10% to 20% of thisaverage. In the system 100 embodiment, the numbers of pins are selectedall equal at 208 pins. Advantageously, this pin relationship of near orsubstantial equality in the context of system 100 provides a low systemfrom both a chip and board cost perspective.

FIG. 59 is an improved snooping embodiment for an improved systemcombination of PPU 110 and keyboard controller 118 of FIG. 6. Abackground is provided by TACT84500 EISA Chip Set, Texas Instruments,1992, pp. 6-48,49 which is hereby incorporated herein by reference. Thekeyboard controller KBC 118 works in an 8042 compatible manner, or in anIBM PC AT compatible manner, and is a relatively slow-speedmask-ROM-programmed (or reprogrammable) microcontroller. At times theKBC 118 in a prior art system would switch the prior art 8086 CPU intoreal mode from protected mode by asserting a Reset signal to the 8086CPU. Since the early 8086 CPU had an address space ranging only up to 1M(2-to-the-20 power), but later x86 CPUs had an extended address spacebeyond 1M, there arose a need to provide a mask bit for the address bitA20. For example, when paging is provided, the system can set up a pageP from 1M minus 32K to 1M plus 32K. Then merely by using the A20M masksignal, the CPU can access the area 5950 from 1M to 1M plus 32K inprotected mode or the area 5955 from zero to 32K (instead of 1M plus32K) in real mode. Thus, the signals A20M and RSTCPU work together tosupport this x86 system feature.

Since the KBC 118 is a relatively slow microcontroller, and someoperating system functions call for numerous switching operations backand forth between protected mode and real mode, the system performancehas heretofore been slowed down because of the latency (delay) inresponse of KBC 118. In fact, some software has even taken advantage ofthis latency by first providing for a keyboard controller output thatafter latency would provide a protected-to-real mode switchingoperation, and the software continuing to have code executing for awhile during a first part of the latency period.

PPU 110 has a configuration bit KBCSNPEN bit 7 in the PCI configurationspace for PPU 110 address A8. This KBCSNPEN bit enables or disablescircuitry that looks for input commands via bus 904 to PORT 92h toactivate the A20M and RSTCPU pins. BIOS software operations determinewhether to set this KBCSNPEN bit or not.

The embodiment of system 100 and PPU 110 further includes a keyboardemulator KBC EMU for high-speed emulation of KBC 118 by directlymonitoring the fast-AT bus 904 inside PPU 110. This KBC EMU is on thesame single chip as the fast-AT bus 904 and the PCI bus interface andPCI configuration registers. For software compatibility purposes, theKBC EMU is suitably provided with a predetermined or a registerprogrammable delay on its A20M and RSTCPU outputs to cover only theinterval occupied by the operations of such existence software which insome systems encroaches into part of the KBC 118 latency period. KBC EMUis arranged to have hardware that creates these signals otherwise asfast as possible to improve system operation. If such software is absentfrom the system, then the interval of KBC EMU is established to be asfast as its hardware allows.

This structure and method is distinguished from yet another type ofearlier approach of filtering out a designated sequence of inputcommands on a line 5920 such as the commands relating to the A20G andCPU-Reset RC# signals to prevent them from reaching keyboard controller118, nor sending inhibiting signals from PPU 110 to KBC 118 to preventit from responding with A20G and RC# outputs 5910 of KBC 118 to suchcommands when sent.

Keyboard controller 118 in one embodiment is suitably a MitsubishiM38802E2FP chip. The 8 bits wide of data on XD bus 116 are coupled toinputs DQ0-7 on KBC 118. A keyboard clock source line LKBDCLK in lines5930 is supplied by PPU 110 from the KBDCLK pin of PPU 110 to the XINinput of KBC 118. A second line RSTXD# in lines 5930 output by PPU 110connects the RESET# input of KBC 118 to the RSTXD# pin of PPU 110.

Lines 5910 between KBC 118 and keyboard KBD or mouse MS are:

KBDIRQ keyboard interrupt request

KCLK keyboard clock

KDATA keyboard data

MSIRQ mouse interrupt request

MSCLK mouse clock

MSDATA mouse data

Lines 5920 between PPU 110 and KBC 118 are:

XDO-7 Data

XDWR# XD write to IOW# of KBC

XDRD# XD read to IOR# of KBC

KBDCS# KBC chip select to CS# of KBC

XA1 Address line to SA2 pin of KBC

The operative result of the system 100 and PPU 110 is not only swiftgeneration of controls, but also operation of the keyboard controller118 in the intended manner without filtering, so that any applicationsoftware that polls the controller 118 finds no departure from intendedoperation.

Advantageously in system 100 of FIG. 6, no inputs to the keyboardcontroller 118 are inhibited nor filtered out. Two outputs of thekeyboard controller KBC called A20G (gate A20) and RC# (Reset CPU) aresimply left disconnected. In this way on-chip PPU 110 routing circuitryfor the KBC A20G and RC# signals is rendered unnecessary and in thisembodiment the KBC EMU circuit is directly coupled to the output logicwith port 92h.

A further bit 1 designated keyboard controller emulator enable KBC₋₋EM₋₋ EN is implemented in the "Miscellaneous" register in PCIconfiguration space in PPU 110. This emulator enable bit 1 when at logicone enables the operation of the hardware emulator KBC EMU of FIG. 59,and when logic zero, disables KBC EMU. In this way, the PPU 110 outputsA20M and RSTCPU are suitably OR-ed with KBC 118 outputs A20G and RC#respectively on the printed circuit board 302 in still anotherembodiment, while advantageously avoiding the complication of A20G andRC# inputs to PPU 110 and unnecessary pin-expense.

FIG. 60 is an audio circuit embodiment for timer control of audio outputin the PPU of FIG. 11. An AND gate 6010 has two inputs, a first inputfor speaker audio data in digital form, and an output connected to theSPKROUT pin of PCU 112. A second input of AND gate 6010 is coupled tobit 1 (SPKEN) of the Miscellaneous register in PCU 112 tabulatedelsewhere herein. Advantageously, software operates the register bit 1in PCU 112 to control sound out in FIG. 5 connected to sound circuit 160of FIG. 6.

FIG. 61 is an electrical schematic of current sensors 6105 connected tosegments in a segmented power conductor plane of board 302 of FIGS. 8,61 and 62, for connection to power management circuitry of the system ofFIGS. 5-7. The current sensors 6105 are multiplexed by an analogsampling mux 6110 responsive to a sensor selecting counter CTR, and haveelectric current levels converted by an analog-to-digital converter ADC6115 into one bit, or 2-3 bits as desired, of digital informationrepresentative of current consumption, and therefore power consumption,of the separate segments of board 302. More bits of analog-to-digitalconversion can be used, if the extra expense justifies them. Clocksignals CLK1 and CLK2 are fed to a counter CTR and to ADC 6115 as neededto step them through their functions. The bits of digital informationthus obtained are then demultiplexed by demux 6120 and CTR into sectionsof an Activity Register 6125 accessible via bus 904, and can be storedin memory 106 and incorporated into the criterion function F of step4640 of FIG. 46 directly or as time-averages. Since low current suggestslow contribution to system activity, the bits from ADC 6115 are suitablycomplemented by demux 6120 or otherwise used to generate an inverse typeof contribution to the criterion function in one process embodiment.

FIG. 62 is a plan view of a segmented power conductor plane in theprinted circuit board of FIG. 8 for selectively supplying differentsupply voltages to different segments of the board. Note the jig-sawinterrelationship of the segments or regions of different VCC.

FIG. 63 is another embodiment of power circuitry 1936A for use in FIG.21 instead of circuitry 1936. Coin cell diode 1944, resistor 1946, andRC network 1912, 1914 to RTCRCLR# correlate to FIG. 21. Input RTCPWR isdecoupled from RTCRCLR# by provision of a second RC network wherein aRTCPWR resistor 6310 is connected at supply side to resistor 1912.Bypass capacitors 6312 are connected between pin RTCPWR and common GND.

A transistor network 6320 couples supply VCC to the cathode of coin celldiode 1944 and to the resistors 1912 and 6310. A PNP bipolar supplyswitching transistor 6330 has its emitter connected to supply 172 VCC,its collector connected to coin cell diode 1944, and its baseresistively connected to the collector of a base drive NPN bipolartransistor 6335. The base of transistor 6335 itself is fed by a voltagedivider, having resistors 6337 and 6339 in series, connected betweensupply VCC and ground. In this way, when VCC rises on power-up or fallson power-down, the base current in transistor 6335 rises, turning it on,whereupon base current rises in transistor 6330, turning it on as welland supplying VCC to the RTC circuitry in substitution for the backuppower from the coin cell at connector 1932. Advantageously, thisarrangement provides a reliable, glitch-free source of supply voltage.

FIG. 64 is a block diagram of a bus interface circuitry embodiment in adocking station embodiment of FIG. 3. Both a PCI/ISA interface 6410 anda PCI/PCI interface 6420 are connected to the same PCI lines toconnector 65 and ultimately to notebook 6 at left. Control lines 6430join interfaces 6410 and 6420.

FIG. 65 is a block diagram of an alternative bus interface circuitryembodiment in a docking station embodiment of FIG. 3. Only the PCI/PCIinterface 6510 is connected to the lines to connector 65. The dockingstation PCI bus 71 here is the point of connection to a PCI/ISAinterface 6520. Control lines 6530 join interfaces 6510 and 6520. Othernumerals correspond to system elements in FIG. 3 for comparison.

FIG. 66 is a schematic diagram of a further dual VCC power-reducingcircuitry embodiment described above with FIG. 55.

FIG. 67 is a pictorial diagram of two wireless notebook computers withvideoteleconferencing capability and battery platforms. Elementscorresponding to those in FIG. 1 are left the same. In FIGS. 67 and 68,a miniature video CCD camera 6710 or other suitable camera, is mountedcentrally on lid 21 above the LCD display. Camera 6710 is coupled to aVideo Interface circuit 52, which in turn advantageously couples to thewide-band PCI bus 104 of notebook 6 in FIG. 68. Also, a microphone 6720of FIG. 67 mounted on lid 21 above the LCD display is connected to AUDIOcircuitry and has its microphone audio digitally processed and coupledfor further sound recognition and response by PPU 110 and MPU 102 inFIG. 68.

Battery life for notebook 6 is extended by means of a portable batteryB2 having a planar or plate-shaped sealed and durable container whichdoubles as a platform for the notebook. Rubber feet 6730 haveelectrically conductive screws or snap-studs such as 6725 which projectthrough passages 6735 and 6740. The left-side front and rear passagesare threaded electrically conductive metal collars molded into the bodyof the insulative container-platform to make internal connection withthe electrodes of Battery B2. The right-side front and rear passages maybe the same, but here are illustrated as through-holes. In FIG. 68, theelectrical connections to battery B2 are coupled or fed to P.S./SystemControl Block of Notebook 6.

Battery B2 has its chemistry selected from any group of species, such aslithium ion, nickel-cadmium, nickel hydride, alkaline, and lead-acid.Selection of battery chemistry type depends on factors such asenergy-density, current and voltage levels, rate of power consumption atpeak and average levels, and battery-life. It is believed for platformpurposes that lead-acid may be somewhat preferable, although theafore-listed and other battery chemistries are also suitable.

Furthermore, the platform geometry lends itself to radiative andinduction modalities of wireless energy reception for notebook 6, aswell as to other computer feature enhancement functions, wherein thecomputer platform element is an important article of manufactureembodiment as well as participating in a combination embodiment ofcomputer combined with electrical platform element.

Cordless operation of notebook 6 is provided by means of internalWIRELESS MODEM which communicates to a wireless wall interface 6750 forconnection to a telephone line. Use of a telephone connecting wireremains an option and the wireless wall interface includes telephonejacks for such wire connections.

A connector 6760 is provided in the rear of the left front aperture ofnotebook 6 so that the floppy disk drive of FIG. 1 can be manuallywithdrawn and inserted, and so that a CD-ROM drive or battery pack ofthe same insertable cross-section can be manually substituted in thatleft front aperture.

The trackball 26 of FIG. 1 is replaced with a finger and/or pensensitive surface and sensor circuitry 6780 in FIG. 67 for cursorcontrol and data input and recognition. A wireless mouse in FIG. 67adapted for manual movement across a surface, or shaped for handmanipulation of the wireless mouse trackball in the user's hand,communicates to a wireless mouse interface 6790 of FIG. 68.

FIG. 68 is a block diagram of each of the notebooks of FIG. 67 with apartially pictorial partially schematic diagram of the connection to abattery platform as just described.

FIG. 69 is a block diagram of alternative circuits and connections for anotebook computer and docking station system. In FIG. 69, connectors60-64 are selected for very low-cost and a lifetime requiring a minimumof connections and disconnections. Connectors 45 and 65 are selected forruggedness and many connections/disconnections. Additional conductors6905 are routed either through connectors 45 or 65 or both to carrysignals in addition to those of wide-band bus 104. These lines 6905include lines for backing up connectors 60-64 which lines are connectedto docking station 7 peripherals such as printer, FDD, MS, KBD, monitor8, and HDD. In addition, lines 6905 include among their number certainsideband signalling lines 6910 in notebook 6 and docking station 7 tobidirectionally communicate between PPU 110 and a PCI/ISA bus interfacecircuit or chip 6920. Reliability, economic and performance advantagesthus result from the physical and electrical structural improvements inthe embodiment of FIG. 69.

FIG. 70 is a more detailed block diagram of sideband signalling circuitsand methods used in the system of FIG. 69. In FIG. 70, a PCI bus 104 isconnected to microprocessor MPU 102, card interface chip PCU 112,peripheral unit PPU 110, and buffers 73, Buffers 73 connect notebook 6bus 104 to docking station 7 PCI/PCI interface 72 which in turn isconnected via lines 6930 to PCI/ISA bridge circuit 6920 and thence alsoto a docking station PCI slot bus 71 to various slots and circuit boardsor cards 79, 77, etc. PCI/ISA bridge 6920 connects to a docking stationISA slot bus 83 and to ISA slots and circuit cards 51, 97, etc.

PPU 110 has DMA controller 910 of FIG. 15, Interrupt Controllercircuitry 914 of FIGS. 11, 38 and 43, XD/IDE interface 934, Floppy DiskController 932, Serial port(s) SIO 936 and parallel port 938 among othercircuitry of FIG. 11. In addition, a serial port circuit 7010 (distinctfrom SIO 936) is coupled and communicates bidirectionally via sidebandsignal lines 6910 to and with a serial port circuit 7020 in theinterface circuit 6920 in the docking station. In the sideband signallines 6910 a clock signal line CLK provides timing, and one (or more ifdesired) serial data line(s) SERIAL DATA carry time-multiplexed bitsserially representing certain ISA control signals from docking station 7which are advantageously utilized by DMA controller 910 and InterruptController 914 in PPU 110 in notebook 6.

An ISA bus has a number of lines with names and input or outputcharacter as tabulated below. A signal name hyphen prefix "-" meanslow-active.

    ______________________________________                                               SIGNAL NAME I/O                                                        ______________________________________                                               IRQ15, 14, 12-9, 7-3                                                                      I                                                                 DRQ7-5, 3-0 I                                                                 DACK7-5, 3-0                                                                              O                                                                 MASTER      I                                                                 OWS         I                                                                 SMEMW       O                                                                 SMEMR       O                                                                 MEMW        I/O                                                               MEMR        I/O                                                               MEM CS16    I                                                                 I/O CS16    I                                                                 IOW         I/O                                                               IOR         I/O                                                               I/O CH CK   I                                                                 SD15-0      I/O                                                               I/O CH RDY  I                                                                 AEN         O                                                                 SA19-0      I/O                                                               RESET DRV   O                                                                 CLK         O                                                                 LA23-17     I/O                                                               Refresh     I/O                                                               T/C         O                                                                 BALE        O                                                                 OSC         O                                                                 SBHE        I/O                                                        ______________________________________                                    

Docking Station 7 ISA slot bus 83 in this example has the above lines.Bridge circuit 6920 controls ISA bus 83. PPU 110 has an improved faston-chip ISA bus 904 controlled by the bridge circuit 902 of FIGS. 11 and14. PPU 110 is subtract-decoded on the PCI bus 104 if it is not docked(meaning that it responds to a PCI cycle if no other PCI agent does so)and becomes positive decoded when it is docked to docking station 7. Ahardware trap pin or register bit is used to program whether PPU 110 haspositive decode. The identity of a docking station 7 chip or card whichis subtractively decoded is determined by bridge circuit 6920.

In a now-described docking station-notebook DMA/IRQ control embodimentfor improving any of the systems described herein, one DMA controller,or one set of cascaded DMA controllers is established in the system toprovide economy of design. In FIG. 69 the DMA controller for thenotebook and docking station as a system is DMA controller 910 in PPU110 in the notebook.

Sideband serial interface signal lines 6910 are provided betweennotebook PPU 110 and docking station PCI/ISA bridge chip 6910. Lines6920 are suitably any operative interface such as a two-wire modem-typeinterface or a 3-wire RS-232 arrangement.

The signals communicated through the high speed serial interface 7010,6910, 7020 are or include:

    ______________________________________                                                               DIRECTION                                                                     (NB = NOTEBOOK,                                        SIGNAL NAME            DS = DOCKG STN)                                        ______________________________________                                        Interrupt Requests     DS TO NB                                               IRQ15, 14, 12-9, 7-3                                                          DMA Requests           DS TO NB                                               DRQ7-5, 3-0                                                                   DMA Acknowledges       NB TO DS                                               DACK7-5, 3-0                                                                  Master request signal  DS TO NB                                               MASTER                                                                        Terminal Count (completion signal from DMA                                                           NB TO DS                                               910)                                                                          T/C                                                                           DMA 24 bit Current address (start or end                                                             NB TO DS                                               DMA addresses not required) in DMA                                            controller 910                                                                ______________________________________                                    

When any of these signals changes value, it is automatically transmittedfrom the docking station 7 to notebook 6 or vice-versa depending onoriginating site. Each serial port 7010 and 7020 has a serialtransmit/receive circuit 7030 connected to the serial line 6910. A datainterface has a serial to parallel interface 7035 for information whichis being received by the respective port and a parallel to serialinterface 7037 which time multiplexes paralllel data to be sent inserial form from the respective port. So, for example, NB TO DSinformation tabulated above is fed to the parallel to serial interface7037 in block 7010 but coupled from the serial to parallel interface7035 in block 7020. Conversely, DS TO NB information tabulated above isfed to the parallel to serial interface 7037 in block 7020 but coupledfrom the serial to parallel interface 7035 in block 7010.

Further information which can be advantageously communicated is theidentification by block 6920 of PPU 110 as a positive decode agent uponnotebook insertion into docking station (DS to NB), and a BUSY statussignal from NB DMA to DS.

Advantages of using DMA 910 as the one DMA in the NB, DS system arePC/AT IBM compatibility, and reduced gate count in the bridge 6920.

FIG. 71 is a set of waveforms for different operational cases of thesideband signalling circuits and methods of FIG. 70. In FIG. 71.

All DMA/MASTER requests from bridge 6920 in docking station 7 go throughserial interface to PPU 110 for DMA arbitration. Once a DMA request fromchip 6920 is granted (DACK returned), the DMA current address is thentransferred from PPU 110 to chip 6920 via the serial interface sidebandlines. After the DMA current address is dloaded to the chip 6920 addresslatch CURRENT ADR 7050, the DMA cycle is started. Two cases for DMAtransfer are tabulated and subdivided below:

CASE 1: MEMORY READ--I/O WRITE CYCLES

1.1: I/O devices in notebook system

If the target DMA I/O device is in the PPU 110, the DMA controller 910via bus bridge 902 reads the memory (e.g. 106) from PCI bus 104 andprovides a memory-read-I/O-write cycle to the target I/O device.

1.2: I/O devices in ISA docking station subsystem

But, if the I/O device is not in the PPU 110, then during memory read,the memory read address is driven by the DMA controller 910 and DMA pageregister therein. Two conditions are next described:

1.2.1: Condition 1

If the memory cycle is granted by a PCI device or main memory, the PPU110 stores the data after the memory read cycle is completed. PPU 110generates an internal cycle to write the stored data to a write bufferof the chip 6920 via the PCI bus 104 and not the sideband lines 6910.The chip 6920 then initiates a pseudo memory read and an actual I/Owrite cycle, and provides data to complete the DMA transfer as shown inFIG. 71 Condition 1.2.1 waveform diagram for ISA bus cycle waveform.

1.2.2 Condition 2

If the memory read cycle is not granted by memory 106 or any PCIdevices, then the whole DMA cycle is redirected to the docking ISA bus83. Chip 6920 generates a memory read and I/O write DMA cycle on thedocking ISA bus 83 because it has latched in latch 7050 the DMA CurrentAddress just previously supplied by the sideband lines 6910 thereto.This cycle is shown in FIG. 71 Condition 1.2.2.

CASE 2: I/O READ--MEMORY WRITE CYCLES

2.1: I/O devices in notebook 6 system

2.1.1 Memory device on PCI bus

If the requesting DMA I/O device is in the PPU 110, the PPU 110 issuesan I/O read from the pertinent I/O device and then initiates a memorywrite cycle to PCI bus 104, as illustrated in FIG. 71 condition 2.1.1.

2.1.2: Memory device on ISA docking bus 83

If no PCI agent in either the notebook 6 or docking station 7 grants thememory cycle, the chip 6920 aborts current PCI cycle and redirects thismemory write cycle to ISA bus 83 in the docking station along with DMAdata and memory address, which has been lodged in latch 7050 viasideband lines 6910. The memory write cycle is shown in FIG. 71condition 2.1.2.

2.2 I/O devices in ISA docking station subsystem

If the requesting device is not in the PPU 110, the chip 6920 respondsto the DMA acknowledge to the DMA request that the chip 6920 itself sentto the PPU DMA controller 910 and generates a standard ISA I/Oread--memory write DMA cycle on bus 83. During this cycle, the data isalso latched in the bridge chip 6920. Since ISA bus 83 is a subtractivedecode bus, the memory write cycle also is directed to the PCI bus 71and 104 to see if any device will grant the cycle. If the memory cycleis granted by a PCI device, the whole DMA cycle is completed. If not,since the ISA cycle was completed first, the bridge chip 6920 justsimply performs a target-abort cycle.

In this way advantages of minimum PCI bus interface design overhead andfully compatible ISA DMA cycle compatibility are achieved.

CASE 3: ISA MASTER MODE

Whenever, PPU 110 samples a docking MASTER# signal active during a DMAacknowledge cycle, the PCI bus control is transferred to bridge chip6920 until MASTER# is deasserted. In other words PPU 110 is not supposedto do any DMA task at all. The MASTER# signal is suitably routed to theDMA controller 910 in one embodiment or to the PCI arbiter 906 whereinmastership is granted to the ISA card in the docking station 7 which isthe new master.

Since the ISA spec does not call for memory-to-memory or I/O-to-I/Otransfers, no provision for them need be described hereinabove.

A few preferred embodiments are described in detail herein. It is to beunderstood that the scope of the invention also comprehends embodimentsdifferent from those described, yet within the scope of the claims.

For example, color display devices can be raster-scanned cathode raytubes or other raster-scanned devices; devices that are notraster-scanned and have parallel line or frame drives; color printers,film formatters, or other hard copy displays; liquid crystal, plasma,holographic, deformable micromirror, field-emission or other displays ofCRT or non-CRT technology; or three-dimensional or other devices usingnonplanar image formation technologies.

"Microcomputer" in some contexts is used to mean that microcomputerrequires a memory and "microprocessor" does not. The usage herein isthat these terms can also be synonymous and refer to equivalent things.The phrase "processing circuitry" comprehends ASICs (applicationspecific integrated circuits), PAL (programmable array logic), PLAs(programmable logic arrays), decoders, memories, non-software basedprocessors, or other circuitry, or digital computers includingmicroprocessors and microcomputers of any architecture, or combinationsthereof. Words of inclusion are to be interpreted as nonexhaustive inconsidering the scope of the invention.

Internal and external connections can be ohmic, capacitive, direct orindirect, via intervening circuits or otherwise. Implementation iscontemplated in discrete components or fully integrated circuits insilicon, gallium arsenide, or other electronic materials families, aswell as in optical-based or other technology-based forms andembodiments. It should be understood that various embodiments of theinvention can employ or be embodied in hardware, software or microcodedfirmware. Process diagrams are also representative of flow diagrams formicrocoded and software based embodiments.

While this invention has been described with reference to illustrativeembodiments, this description is not intended to be construed in alimiting sense. Various modifications and combinations of theillustrative embodiments, as well as other embodiments of the invention,will be apparent to persons skilled in the art upon reference to thedescription. It is therefore intended that the appended claims encompassany such modifications or embodiments.

In FIG. 9, MPU 102 includes a microprocessor, memory controller, and PCIBridge Unit, all on a single integrated circuit chip.

Features of this preferred embodiment include:

Integrated 486 clock-doubled static core

50-MHz and 66-MHz operation at 3.3 V

Direct high speed bus interface into internal 486-CPU bus

Integrated 8K-Byte cache

Supports advanced power management software

System management mode hardware

High-priority system management interrupt (SMI)

Suspend mode (hardware and software initiated)

Integrated 50-MHz and 66-MHz memory controller

Programmable DRAM timing optimized for 60-ns access at 50 and 66 MHz

Supports 3.3-V and 5-V DRAMs

Supports up to 256M-byte DRAM in four 32-bit banks without

external buffering

Supports 256K, 512K, 1M, 2M, 4M, 8M, and 16M asymmetric and symmetricDRAMs

Supports shadowed RAM

SMM Memory mapping into main memory (DRAM)

Two-level DRAM write buffers

Integrated 4-level DRAM refresh queue

Programmable write-protection regions

Advanced power management for DRAM

Suspend refresh

Self refresh

Slow refresh

CAS before RAS refresh

Integrated PCI bus interface for master/slave operation

The microprocessor, memory control, and PCI bridge unit (MPU) 102 ofFIG. 9 integrates a 486 CPU 701, DRAM controller 718, and PCI interface716 into a single chip contained in a 208-pin PQFP (plastic quad flatpack) package.

The 486 CPU core contains an 8K-byte write-through, 32-bitinstruction/data cache 704. The cache 704 is two-way set associative andorganized as 1024 sets each containing 2 lines of 4 bytes each. Thecache contributes to the overall performance by quickly supplyinginstructions and data to an internal execution pipeline of CPU core 702.

MPU 102 power-management features allow a dramatic reduction inelectrical current consumption when the microprocessor is in a standbymode. Standby mode is entered either by a hardware or software initiatedaction as described in connection with PPU 110 in FIG. 23. Standby modeallows for CPU clock modulation via a MaskClock MSKCLK input pin of MPU102 as shown in FIG. 27, thus reducing power consumption. Once instandby mode, the MPU power consumption can be further reduced bygenerating suspend mode, as discussed in connection with FIG. 33, andstopping the external clock input. Since the MPU 102 is a static device,no internal data is lost when the clock input is stopped.

A system-management mode (SMM) provides an additional interrupt SMI# andan address space that can be used for system power management orsoftware transparent emulation of I/O peripherals or other purposes. SMMis entered using the system-management interrupt (SMI) which has ahigher priority than any other interrupt. While running in protected SMMaddress space, the SMI interrupt routine can execute without interferingwith the operating system or application programs. After reception of anSMI, portions of the CPU are automatically saved, SMM is entered andprogram execution begins at the SMM address space. The location and sizeof the SMM memory is programmable. Seven SMM instructions in the 486core instruction set permit saving and restoring the total CPU statewhen in SMM mode.

In FIG. 9, MPU 102 integrates a high performance DRAM controller 718that supports up to 256M bytes of DRAM memory 106 with up to four 32-bitbanks without external buffering. Additionally, memory interface buffers720 can be programmed to operate at 3.3-V or 5-V. The DRAM controller718 is programmable to support 60 ns and 80 ns accesses. Various refreshmodes are supported which include: slow, self, suspend, andCAS-before-RAS refresh.

An on-chip PCI interface 716 (bus bridge) is suitably provided compliantwith the PCI 2.0 specification. The PCI interface 716 acts as a busmaster when there is a CPU initiated transfer between the CPU and thehigh speed PCI bus 104 and as a target for PCI initiated transfers. Animportant feature which supports power management is a bus-quiet modeused to inhibit PCI bus cycles when the CPU is accessing the DRAM 106 orinternal cache 704.

Functional description for the MPU signal pins is provided in thefollowing table.

    __________________________________________________________________________    PIN      I/O BUFFER                                                           NAME  NO.                                                                              TYPE                                                                              TYPE FUNCTION                                                    __________________________________________________________________________    FPU Interface                                                                 A31   139                                                                              O        Host Address bits. A31 and A2 are used to support a                           378DX/487DLC math coprocessor 108. The A31                  A2    141                                                                              O        output drives the NPS2 input and A2 drives the CMD0                           input on the coprocessor.                                   ADS   152                                                                              O        Host address status. This output indicates that the                           host address and bus cycle definition signals are                             valid.                                                      FB2   155                                                                              I        Feedback 2X clock. This input should be connected on                          the motherboard to the NPUCLK signal.                       M/IO  150                                                                              O        Memory/Input-output and write/read. These signals are                         valid                                                       W/R   148                                                                              O        when ADS is asserted:                                                         M/IO                                                                              D/C*                                                                              W/R LOCK*                                                                             Bus Cycle Type                                                0   0   0   0   Interrupt acknowledge                                         0   0   0   1   --                                                            0   0   1   X   --                                                            0   1   X   0   --                                                            0   1   0   1   I/O data read                                                 0   1   1   1   I/O data write                                                1   0   X   0   --                                                            1   0   0   1   Memory code read                                              1   0   1   1   Halt: A31 - A2 = 0h, BE3 - BE0 = 1011                                         Shutdown: A31 - A2 = 0h, BE3 - BE0 =                                          1110                                                          1   1   0   0   Locked memory data read                                       1   1   0   1   Memory data read                                              1   1   1   0   Lock memory data write                                        1   1   1   1   Memory data write                                             *These signals are internal.                                                  X -- don't care                                                               -- = does not occur                                         NPUCLK                                                                              154                                                                              O        Numerical processor unit clock. This output is used to                        drive the clock input of a                                                    387DX/487DLC math coprocessor.                              NPRESET                                                                             143                                                                              O        Numerical processor unit reset. This output is used to                        reset the 387DX/487DLC math coprocessor.                    NPBUSY                                                                              146                                                                              I        Coprocessor busy (active low). This input from the                            coprocessor indicates to the 486 processor that the                           coprocessor is currently executing an instruction and                         is not yet able to accept another opcode. When the                            486 processor encounters a WAIT instruction or any                            coprocessor instruction that operates on the                                  coprocessor                                                                   stack (i.e., load, pop, arithmetic operation), BUSY is                        sampled. BUSY is continually sampled and must be                              recognized as inactive before the CPU will supply the                         coprocessor with another instruction However, the                             following coprocessor instructions are allowed to                             execute even if BUSY is active since these                                    instructions                                                                  are used for coprocessor initialization and exception                         clearing: FNINIT, FNCLEX                                    NPERROR                                                                             145                                                                              I        Coprocessor error. This input is used to sense that the                       coprocessor generated an                                                      error during execution of a coprocessor instruction.        PEREQ 144                                                                              I        Coprocessor request. This input indicates that the                            coprocessor is ready to transfer data to or from the                          CPU. The coprocessor may assert PEREQ in the process of                       executing a coprocessor instruction. The 486                                  core internally stores the current coprocessor opcode                         and performs the correct data transfers to support                            coprocessor operations using PEREQ to synchronize the                         transfer of required operands.                                                PEREQ is internally connected to a pulldown resistor to                       prevent this signal from floating active                                      when left unconnected.                                      NPRDY 153                                                                              I        Numeric processor ready. This input accepts the READYO                        signal from the math coprocessor.                           READY 142                                                                              O        BUS ready. This output drives the READY input on the                          math coprocessor and indicates to the coprocessor                             when a 486 processor bus cycle is to be terminated.         IRQ13 167                                                                              O        Interrupt request 13. This output is asserted when the                        math coprocessor indicates                                  FPUERR#           to the MPU that a numeric processing error has occurred                       by asserting ERROR. This                                                      signal connects to the PPU interrupt request FPUERR.        Memory Interface Pins                                                         CAS7  61 O        Column address strobe. CAS3-0 drives banks 0 and 2.                           CAS7-4 drives banks 1 and 3.                                CAS6  63 O                                                                    CAS5  64 O                                                                    CAS4  65 O                                                                    CAS3  66 O                                                                    CAS2  67 O                                                                    CAS1  68 O                                                                    CAS0  70 O                                                                    RAS3  55 O        Row address strobe.                                         RAS2  56 O                                                                    RAS1  57 O                                                                    RAS0  59 O                                                                    MA12  72 O        Memory address. Memory address lines that interface                           directly to system DRAM.                                    MA11  74 O                                                                    MA10  75 O                                                                    MA9   76 O                                                                    MA8   78 O                                                                    MA7   79 O                                                                    MA6   80 O                                                                    MA5   81 O                                                                    MA4   82 O                                                                    MA3   83 O                                                                    MA2   85 O                                                                    MA1   87 O                                                                    MA0   89 O                                                                    WE    90 O        Write enable.                                               MDATA31                                                                             91 I/O      Memory data. Bidirectional data lines that interface                          directly to system DRAM                                     MDATA30                                                                             92 I/O      and host data bus. Also used to transfer data between                         PCI devices and host or memory.                             MDATA29                                                                             93 I/O                                                                  MDATA28                                                                             94 I/O                                                                  MDATA27                                                                             96 I/O                                                                  MDATA26                                                                             98 I/O                                                                  MDATA25                                                                             100                                                                              I/O                                                                  MDATA24                                                                             101                                                                              I/O                                                                  MDATA23                                                                             102                                                                              I/O                                                                  MDATA22                                                                             106                                                                              I/O                                                                  MDATA21                                                                             107                                                                              I/O                                                                  MDATA20                                                                             108                                                                              I/O                                                                  MDATA19                                                                             109                                                                              I/O                                                                  MDATA18                                                                             111                                                                              I/O                                                                  MDATA17                                                                             113                                                                              I/O                                                                  MDATA16                                                                             115                                                                              I/O                                                                  MDATA15                                                                             116                                                                              I/O                                                                  MDATA14                                                                             117                                                                              I/O                                                                  MDATA13                                                                             118                                                                              I/O                                                                  MDATA12                                                                             119                                                                              I/O                                                                  MDATA11                                                                             120                                                                              I/O                                                                  MDATA10                                                                             124                                                                              I/O                                                                  MDATA9                                                                              126                                                                              I/O                                                                  MDATA8                                                                              127                                                                              I/O                                                                  MDATA7                                                                              128                                                                              I/O                                                                  MDATA6                                                                              129                                                                              I/O                                                                  MDATA5                                                                              130                                                                              I/O                                                                  MDATA4                                                                              131                                                                              I/O                                                                  MDATA3                                                                              133                                                                              I/O                                                                  MDATA2                                                                              134                                                                              I/O                                                                  MDATA1                                                                              135                                                                              I/O                                                                  MDATA0                                                                              137                                                                              I/O                                                                  NMI   176                                                                              I        Nonmaskable Interrupt Request. This rising-edge-sensitiv                      e input causes the processor to suspend execution                             of the current instruction stream and begin execution                         of an NMI interrupt service routine. The NMI                                  interrupt service request cannot be masked by software.                       Asserting NMI causes an interrupt which                                       internally supplies interrupt vector 2h to the CPU                            core. External interrupt acknowledge cycles are not                           necessary since the NMI interrupt vector is supplied                          internally.                                                                   The 486 core processor samples NMI at the beginning of                        each core clock phase 2. To assure recognition,                               NMI clock is inactive for at least eight CLK2 period                          and then active for at least eight CLK2 periods.                              Additionally, predetermined setup and hold times ensure                       recognition at a particular clock edge.                     PCI System Pins                                                               PCLKOUT                                                                             194                                                                              O        Clock. Provides timing for all transactions on PCI. All                       other PCI signals are sampled on the rising edge                              of PCLKOUT, and all other timing parameters are defined                       with respect to this edge. PCI may operate over                               a wide range of frequencies.                                PCLK  193                                                                              I        PCI clock feedback. This input should be connected on                         the motherboard to PCLKOUT.                                 RSTPCI                                                                              191                                                                              I        PCI Bus Reset. Forces the PCI secquencer of each device                       to a known state.                                           PCI Address and Data Pins                                                     AD31  197                                                                              I/O      Address and data. These are multiplexed on the same PCI                       pins. During the first clock of a                           AD30  198                                                                              I/O      transaction AD31-AD0 contain a physical byte address                          (32 bits). During subsequent clocks,                        AD29  200                                                                              I/O      AD31-AD0 contain data.                                      AD28  202                                                                              I/O      A bus transaction consists of an address phase followed                       by one or more data phases. PCI support                     AD27  204                                                                              I/O      both read and write bursts. Little-endian byte ordering                       is used. AD7-AD0 define the least-                          AD26  205                                                                              I/O      significant byte and AD31-AD24 the most-significant                           byte.                                                       AD25  206                                                                              I/O                                                                  AD24  207                                                                              I/O                                                                  AD23  3  I/O                                                                  AD22  4  I/O                                                                  AD21  5  I/O                                                                  AD20  7  I/O                                                                  AD19  9  I/O                                                                  AD18  11 I/O                                                                  AD17  12 I/O                                                                  AD16  13 I/O                                                                  AD15  28 I/O                                                                  AD14  29 I/O                                                                  AD13  30 I/O                                                                  AD12  31 I/O                                                                  AD11  33 I/O                                                                  AD10  35 I/O                                                                  AD9   38 I/O                                                                  AD8   40 I/O                                                                  AD7   41 I/O                                                                  AD6   42 I/O                                                                  AD5   44 I/O                                                                  AD4   46 I/O                                                                  AD3   48 I/O                                                                  AD2   49 I/O                                                                  AD1   50 I/O                                                                  AD0   51 I/O                                                                  Miscellaneous/Test                                                            TEST  179                                                                              I        Test mode. When asserted, this pin causes the MPU to                          enter test mode. This signal should be tied                                   low for normal operation.                                   TM1   181                                                                              I        Test mode control. These signals should be tied low for                       normal operation.                                           TM2   186                                                                              I                                                                    RSTCPU                                                                              180                                                                              I        Reset CPU.                                                  A20M  178                                                                              I        Address bit 20 mask. Forces host to mask physical                             address bit 20 (HA20) before lookup to the                                    internal cache or driving a memory cycle on the bus.                          A20M emulates the address wraparound at                                       1M byte that occurs on the 8086 microprocessor.             CPUCLK1                                                                             184                                                                              I        50-NHZ crystal oscillator input. Connects to one side                         of the crystal that drives CPU internal                                       PLL. Used with CPUCLK2.                                     CPUCLK2                                                                             185                                                                              O        50-NHZ crystal oscillator output. Connects to one side                        of the crystal that drives MPU internal                                       PLL. Used with CPUCLK1.                                     INTR  171                                                                              I        Maskable Interrupt Request. This level-sensitive input                        causes the processor to suspend execution                                     of the current instruction stream and begin execution                         of an interrupt service routine. The NTR input can                            be masked (ignored) through the Flags register IF bit.      C/BE3 2  I/O      Bus commands and byte enables. These are multiplexed on                       the same pins. During the address phase                     C/BE2 14 I/O      C/BE3-C/BE0 define the bus command. During the data                           phase C/BE3-C/BE0 are used as byte                          C/BE1 27 I/O      enables. The byte enables determine which byte lanes                          carry meaningful data. C/BE0 applies to                     C/BE1 39 I/O      byte 0, and C/BE3 to byte 3.                                PAR   26 I/O      Parity. Parity is even parity across AD31--AD0 and                            C/BE3-C/BE0.                                                PCI Arbitration                                                               HOLD  195                                                                              I        Hold Request. This input is used to indicate that                             another bus master request control of the local bus                           714.                                                                          The bus arbitration (HOLD, HLDA) signals allow the                            microprocessor to relinquish control of its local bus                         when requested by another bus master device. Once the                         processor CPU701 has relinquished its bus                                     (3-stated), the bus master device can then drive the                          local bus signals.                                                            After recognizing the HOLD request and completing the                         current bus cycle or sequence of locked bus cycles,                           the microprocessor responds by floating the local bus                         and asserting the hold acknowledge (HLDA) output.                             Once HLDA is asserted, the bus remains granted .to the                        requesting bus master until HOLD becomes inactive.                            When the microprocessor recognizes HOLD is inactive, it                       simultaneously drives the local bus and drives                                HLDA inactive. External pullup resistors may be                               required on some of the microprocessor 3-state outputs                        to ensure that they remain inactive while in a                                hold-acknowledge state.                                                       The HOLD input is not recognized while RESET is active.                       If HOLD is asserted while RESET is active,                                    RESET has priority and the microprocessor places the                          bus into an idle state instead of a                         HLDA  196                                                                              O        Hold Acknowledge. This output indicated that the                              microprocessor is in a hold-acknowledge state and has                         relinquished control of its local bus. While in the                           hold-acknowledge state, the microprocessor drives                             HLDA active and continues to drive SUSPA, if enabled.                         The other microprocessor outputs are in the                                   high-impedance state allowing the requesting bus master                       to drive these signals. If the on-chip cache                                  can satisfy bus requests, the microprocessor continues                        to operate during hold-acknowledge states.                                    A20M is internally recognized during this time.                               The microprocessor deactivates HLDA when the HOLD                             request is driven inactive. The microprocessor                                stores an NMI rising edge during a hold-acknowledge                           state for processing after HOLD is inactive.                                  The FLUSH input is also recognized during                                     hold-acknowledge state. If SUSP is asserted during a                          hold-acknowledge state, the microprocessor may or may                         not enter suspend mode depending on the                                       state of the internal execution pipeline. The state of                        the microprocessor signals during hold                                        acknowledge are summarized in the "Signal States" table                       following this table.                                       PCI Error Reporting Pins                                                      SERR  25 I/O      System error. This pin may be driven by any agent for                         reporting errors other than parity.                         PERR  24 I/O      Parity error. This pin may be driven by an agent during                       all PCI transactions, except a special cycle, to                              report                                                                        data parity errors.                                         PCI Interface Control Pins                                                    FRAME 15 I/O      Cycle frame. Driven by the current master to indicate                         the beginning and duration of an                                              access. FRAME is asserted to indicate that a bus                              transaction is beginning. While FRAME is asserted data                        transfers continue. When FRAME is deasserted the                              transaction is in the final data phase.                     TRDY  18 I/O      Target ready. Indicates the target agent's (selected                          device's) ability to complete the current data phase of                       the                                                                           transaction. TRDY is used in conjunction with IRDY. A                         data phase is completed on any clock where both                               TRDY and IRDY are sampled asserted. During a read TRDY                        indicates that valid data is present on                                       AD31-ADO. During a write it indicates that the target                         is prepared to accept data. Wait cycles are                                   inserted until both IRDY and TRDY are asserted                                together.                                                   IRDY  16 I/O      Initiator ready. Indicates the initiating agent's (bus                        master's) ability to complete the current data phase                          of the transaction. IRDY is used in conjunction with                          TRDY. A data phase is completed on any clock where                            both IRDY and TRDY are sampled asserted. During a read                        IRDY indicates that valid data is present on                                  AD31-AD0. During a write it indicates that the master                         is prepared to accept data. Wait cycles are                                   inserted until both IRDY and TRDY are asserted                                together.                                                   STOP  22 I/O      Stop. Indicates that the current target is requesting                         the master to stop the current transaction.                 DEVSEL                                                                              20 I/O      Device select. When actively driven, DEVSEL indicates                         the driving device has decoded its address as the                             target of the current access. As an input, it indicates                       whether any device on the bus has been selected.            LOCK  23 O        Lock. An optional signal that indicates an operation                          that may require multiple transactions to complete.                           When LOCK is asserted, non-exclusive transactions can                         proceed.                                                    Power Management Signals                                                      SMI   169                                                                              I/O      System Management Interrupt. This bidirectional,                              level-sensitive signal is an interrupt with higher                            priority than the NMI interrupt. SMI must be active for                       at least four CLK2 clock periods to be recognized                             by the 486 processor. After the SMI interrupt is                              acknowledged, the SMI pin is driven low by the 486                            processor for the duration of the SMI service routine.                        The SMI input is ignored following reset and                                  can be enabled using the SMI bit in the CCR1                                  configuration register.                                                       SMI is internally connected to a pullup resistor to                           prevent it from floating active when left unconnected.      MASKCLK                                                                             165                                                                              I        Mask clock. Used in conjunction with CKD bit in CCR0                          register to stop the CPU core clock or to stop all                            on-chip clock (except 32 kHz) and go into suspend.          32KHZ 182                                                                              I        DRAM refresh. Used for DRAM refresh timing during                             suspend. Requests MPU to enter suspend                      SUSPEND                                                                             163                                                                              I        mode and disable oscillator and clock outputs.              Power Supply Pins                                                             VCC   Note 1      Power supply pins.                                          GND   Note 2      Device ground pins.                                         VCCP  37          Power pin.                                                  VCC1  Note 3      Power supply pins.                                          VCC05 Note 4      Power supply pins.                                          Reserved Pins                                                                 Reserved                                                                            Note 5      Reserved pins                                               __________________________________________________________________________     Notes:                                                                        1) Pins 1, 8, 17, 21, 34, 43, 47, 54, 140, 149, 156, 162, 166, 172, 175,      183, 190, 199, 201, and 208 for twenty pins total.                            2) Pins 6, 10, 19, 32, 36, 45, 52, 53, 60, 69, 73, 86, 95, 99, 104, 110,      114, 123, 132, 138, 147, 151, 157, 158, 159, 160,161, 164, 173, 174, 177,     188, 192, and 203 for thirty four pins total.                                 3) Pins 77, 103, and 122 for three pins total.                                4) Pins 58, 62, 71, 84, 88, 97, 105, 112, 121, 125, and 136 for eleven        pins total.                                                                   5) Pins 168, 170, 187, and 189 for four pins total.                      

The embedded 486 core processor 702 is initialized when the RESET signalis asserted. The processor 702 is placed in real mode ("8086" mode),signal states shown in the next table are established, and the registerslisted in the following table are set to their initialized values. RESETinvalidates and disables the cache 704, turns off paging and returns theprocessor 706 clock circuit to nonclock-doubled mode. When RESET isasserted, the microprocessor 102 terminates all local bus activity andall internal execution. During the time that RESET is asserted, theinternal pipeline is flushed and no instruction execution or busactivity occurs.

Approximately 350 to 450 CLK2 clock cycles (hclk2 of FIG. 36)(additional 220+60 cycles if self-test is requested) after deassertionof RESET, the processor 702 begins executing instructions at the top ofphysical memory (address location FFFF FFF0h). When the firstintersegment JUMP or CALL is executed, address lines A31-A20 of localbus 714 in FIG. 9 are driven low for code-segment-relative memory-accesscycles. While these address lines are low, the microprocessor 102executes instructions only in the lowest 1M byte of physical addressspace until system-specific initialization occurs via program execution.

Signal States During RESET and Hold Acknowledge

    ______________________________________                                                   Signal State   Signal State During                                 Signal Name                                                                              During RESET   Hold Acknowledge                                    ______________________________________                                        A20M       Ignored        Input recognized                                    A31-A2     1              Float                                               ADS        1              Float                                               C/BE3-C/BE0                                                                              0              Float                                               NPBUSY     Initiates self test                                                                          Ignored                                             MDATA31-0  Float          Float                                               NPERROR    Ignored        Ignored                                             HLDA       0              1                                                   HOLD       Ignored        Input recognized                                    INTR       Ignored        Input recognized                                    LOCK       1              Float                                               M/IO       0              Float                                               NMI        Ignored        Input recognized                                    PEREQ      Ignored        Ignored                                             READY      Ignored        Ignored                                             RSTCPU     Input recognized                                                                             Input recognized                                    SMI        Ignored        Input recognized                                    SUSPEND    Ignored        Input recognized                                    W/R        0              Float                                               ______________________________________                                        486 Core Initialized Register Contents                                                           Initialized                                                Register                                                                             Register Name                                                                             Contents   Comments                                        ______________________________________                                        EAX    Accumulator xxxx xxxxh 0000 0000h indicates                                                          self-test passed                                EBX    Base        xxxx xxxxh                                                 ECX    Count       xxxx xxxxh                                                 EDX    Data        xxxx 0400 +                                                                              Revision ID = 10h                                                  Revision ID                                                EBP    Base Pointer                                                                              xxxx xxxxh                                                 ESI    Source Index                                                                              xxxx xxxxh                                                 EDI    Destination Index                                                                         xxxx xxxxh                                                 ESP    Stack Pointer                                                                             xxxx xxxxh                                                 EFLAGS Flag Word   0000 0002h                                                 EIP    Instruction Point-                                                                        0000 FFF0h                                                        er                                                                     ES     Extra Segment                                                                             0000h      Base address set to 0000                                                      0000h                                                                         Limit set to FFFFh                              CS     Code Segment                                                                              F000h      Base address set to 0000                                                      0000h                                                                         Limit set to FFFFh                              SS     Stack Segment                                                                             0000h                                                      DS     Data Segment                                                                              0000h      Base address set to 0000                                                      0000h                                                                         Limit set to FFFFh                              FS     Extra Segment                                                                             0000h                                                      GS     Extra Segment                                                                             0000h                                                      IDTR   Interrupt-Descript                                                                        Base = 0,                                                         or Table    Limit = 3FFh                                               CR0    Machine Status                                                                            0000 0010h                                                        Word                                                                   CCR0   Configuration                                                                             00h                                                               Control 0                                                              CCR1   Configuration                                                                             xxxx xxx0                                                         Control 1   (binary)                                                   ARR1   Address Region 1                                                                          000Fh      4G-byte noncacheable re-                                                      gion                                            ARR2   Address Region 2                                                                          0000h                                                      ARR3   Address Region 3                                                                          0000h                                                      ARR4   Address Region 4                                                                          0000h                                                      DR7    Debug       0000 0000h                                                 ______________________________________                                         Note: x = Undefined value                                                

The internal circuitry of 486 CPU core 702 is diagrammed and describedin greater detail in TI486 Microprocessor: Reference Guide, 1993,available from Texas Instruments Incorporated and hereby incorporatedherein by reference.

The clock circuitry 706 is described in U.S. patent application Ser. No.08/133,497, filed Oct. 8, 1993, entitled "A Voltage-ControlledOscillator and System with Reduced Sensitivity to Power SupplyVariation" and hereby incorporated herein by reference.

In FIG. 9 the PCI bus bridge 716 provides the interface between the restof MPU 102 and the PCI bus 104. The integrated 486 core processor 701and memory controller 718, 720 subsystems are connected to the PCI bus104 through the PCI bridge 716. The PCI bridge 716 maps the addressspace of local bus 714, of the integrated 486 core processor 701, intothe address space of the PCI 104; and provides the mechanism that allowsthe 486 core processor to access PCI configuration space. The PCI bridge716 provides a low-latency path through which the 486 core processordirectly accesses other PCI agents mapped anywhere in memory and I/Ospaces. Additionally, the PCI bridge 716 provides a high-bandwidth paththat allows PCI masters outside MPU 102 direct access to main memory.MPU 102 is capable of behaving as a bus master (initiator) or PCI Slave(target) running at 0 MHz up to 25 or 33 MHz and much higher frequenciesinto hundreds of MegaHertz according to the concepts disclosed herein.

MPU 102 implements a 256-byte configuration space, which is a physicaladdress space for registers 712 to configure PCI agents. Theconfiguration registers 712 are accessed via an Index/Data registerpair.

For PCI bus 104 to main memory accesses, the MPU 102 is a target on thePCI bus 104. For host to peripheral component accesses, the MPU is amaster on the PCI bus 104. The host can read and write bothconfiguration and non-configuration address spaces. When the host isaccessing the MPU configuration registers 712, the MPU 102 is both themaster and the target. Configuration cycles initiated by MPPU 102circuitry in bridge 716 to MPU configuration registers 712 are notforwarded to the PCI bus 104.

The FRAME, IRDY, and TRDY, are some PCI control signals. FRAME isasserted by the initiator (master) to indicate the beginning and end ofa PCI transfer. IRDY is asserted by the initiator to indicate that thedata is valid (write) or that it is ready to accept data (read). TRDY isasserted by the PCI target to indicate that the data is valid (read) orthat it is ready to accept data (write).

All PCI transactions begin with the assertion of FRAME whereupon themaster places address and control information on the address/data AD andC/BE command/byte enable lines. If the transaction is a read, the nextcycle is used to allow the direction of the bus to turn around and bedriven by the target. If the transaction is a write, the next cycle canbe a data phase containing the data that is to be transferred to atarget.

A data phase completes when both IRDY and TRDY are asserted. If eitherIRDY or TRDY are negated during the data phase, wait states are insertedby bus bridge 716, for example. FRAME is negated when the initiator hasonly one data transfer remaining and IRDY is asserted, as in cycles withmultiple data phases such as burst cycles. Otherwise, if no burst cycleoccurs, FRAME is negated when IRDY is asserted. When FRAME and IRDY areboth negated (high), the data transfer is complete and the bus 104 is inan idle cycle.

When MPU 102 asserts FRAME, the other PCI agents in the system decodethe address being driven onto the AD lines of bus 104. PCU 112, DisplayController 114 and devices 210 and 220 of FIGS. 5-7 decode the addresspositively except in system 100, the PPU 110 subtractively decodesaddresses not claimed by other devices. When an agent device decodes anaddress as being its own, it identifies itself as the target byasserting an active signal on select line DEVSEL. If no device respondswithin five clocks, MPU 102 terminates the cycle with a master abort.When MPU 102 is the target of another PCI master as in the case of a PPU110 to main memory 106 transfer, MPU 102 asserts DEVSEL to claim thecycle.

Bus commands indicate to the PCI target devices the type of transactionthat the master PCI device is requesting, as shown in the next table,for MPU 102. Notice that the entries apply to one embodiment, and thatother embodiments provide support as target and initiator selectedappropriately to the commands and the architecture of each systemembodiment.

MPU PCI Command Set Support

    ______________________________________                                                                 Supported Supported                                  C/BE3-0 Command Type     As Target as Master                                  ______________________________________                                          0     Interrupt Acknowledge                                                                          No        Yes                                          1     Special Cycle    No        Yes                                         10     I/O Read         No        Yes                                         11     I/O Write        No        Yes                                         100    Reserved         N/A       N/A                                         101    Reserved         N/A       N/A                                         110    Memory Read      Yes       Yes                                         111    Memory Write     Yes       Yes                                        1000    Reserved         N/A       N/A                                        1001    Reserved         N/A       N/A                                        1010    Configuration Read                                                                             No        Yes                                        1011    Configuration Write                                                                            No        Yes                                        1100    Memory Read Multiple                                                                           No        No                                         1101    Reserved         N/A       N/A                                        1110    Memory Read Line No        No                                         1111    Memory Write and Invali-                                                                       No        No                                                 date                                                                  ______________________________________                                          Treated as memory read.                                                       Treated as memory write                                                 

The MPU can, but does not have to, support burst cycles as a master. Theburst interface is suitably provided in the memory management unit MMUof CPU core 702. In the case of another PCI master attempting to burstdata to memory, the MPU PCI bridge 716 can, in a non-burst mode, alsoterminate the PCI burst cycle after the first data has transferred. Inburst mode, however, the burst cycle executes to completion. A latencytimer is suitably used to limit the amount of time that the MPU can usethe PCI bus during a burst transfer.

Turning to the subject of status and error reporting, MPU 102 has twosignals, PERR and SERR, for handling errors. PERR is used to report dataparity errors during all PCI transactions except a special cycle. SERRis used to report address parity errors and special cycle data parityerrors. PERR is asserted when a PCI agent receiving data detects a dataparity error. SERR is asserted by the PCI agent that detects an addressparity error or a special cycle data parity error. In the event of anerror, the appropriate status bits are set in the Status and Commandregister in block 712 as described in register tables later hereinbelow.

Additional MPU errors include 1) access to a non-existent device or 2)accessing a target that cannot handle the request. When MPU 102, as amaster, attempts to access a nonexistent device or a device that doesnot respond, with DEVSEL in a predetermined time, MPU 102 executes amaster abort. If the MPU is accessing a target device and the targetdevice cannot handle the request, the target aborts. In both cases,status bits in the Status and Command register are set to indicate thata master abort (MABT bit) or a target abort occurred.

MPU 102 supports both master-initiated termination as well astarget-initiated termination. All transactions are concluded when bothFRAME and IRDY are negated, indicating that the bus is idle.Master-initiated termination includes 1) Cycle completion or 2) Masterabort, as described above, 3) timeout termination. Cycle completion isnormal completion of a PCI transaction.

Time-out termination refers to a transaction that is terminated becausethe latency timer expired before the transaction was able to complete.

The MPU responds to a target-initiated termination in one of thefollowing ways: 1) Retry, 2) Abort or 3) Disconnect.

Retry refers to termination by the target that informs the initiator itcurrently cannot respond to a transaction and that the transactionshould be retried at a later time. No data transfer takes place duringthis transaction.

Abort refers to termination by the target when the target determinesthat a fatal error has occurred or that it may never be able to respondto the transaction. The received-target-abort-stacus bit (TABT) in thePCI Status register is set indicating that the MPU experienced a PCItarget-abort condition.

Disconnect refers to termination requested because the target is unableto respond within a latency time interval after the first data phase istransferred. By contrast, no data transfers during a retry. When the MPU102 only transfers single data, a disconnect resembles a normal cyclecompletion except that STOP is asserted.

As a target, the MPU completes the transaction. No retry, disconnect, orabort is issued.

The MPU 102 supports HALT and SHUTDOWN. The halt instruction (HLT) stopsprogram execution and prevents the processor 102 from using the localbus 714 until restarted. The CPU 702 in HALT enters a low-power suspendmode. When an external hardware interrupt is detected on the INTR inputpin and the interrupts are enabled (IF bit in EFLAGS=1), SMI, NMI, orRESET forces the CPU out of the halt state. The PCI bridge 716broadcasts the HALT as a special cycle on the PCI bus 104.

Shutdown occurs when a severe error is detected that prevents furtherprocessing. The PCI bridge does not broadcast the shutdown cycle as aPCI special cycle. Instead, the PCI bridge logic internally generates areset to the CPU.

Interrupt acknowledge cycles are generated by the MPU 102 bridge 716when an INTR output is asserted by PPU 110 to the MPU INTR input. Duringinterrupt acknowledge cycles, the internal bus cycle definition signal(M/IO (pin), D/C (internal), and W/R (pin)) are driven to 000. Theinterrupt acknowledge cycle has two 8-bit read operations, with theaddresses being driven to 4 and 0 for the first and second cycles,respectively. During an interrupt acknowledge cycle, the first byte readis ignored and the second provides the 8-bit interrupt vector. LOCK isalso asserted to ensure that the two reads are executed back-to-back.

On the PCI bus, the interrupt acknowledge cycle is a single cycle, incontrast to the two back-to-back read cycles on the CPU bus 714. Thecycle is an internal cycle initiated by ADS and terminated by RDY. FRAMEis generated on the PCI bus to the PPU to start the InterruptAcknowledge (INTA) cycle. The CPU bus cycle definition signals aretransformed into a PCI interrupt acknowledge (INTA) command. The PPU 110responds to FRAME and the INTA command by providing a single interruptvector byte from its internal interrupt controller 914 of FIGS. 11, 38,43 and 44. A second RDY is generated to the CPU based on the IRDY/TRDYhandshake and the cycle completes.

In a PC-compatible address map, the address space 512K-1M(00080000h-000FFFFFh) is reserved for video memory (VRAM or DRAM), ROM,and system-expansion memory. The MPU 102 PCI bridge 716 implements aDRAM Shadow and Timing Control register in block 712 that allows ReadOnly, Write Only, Read/Write, or Disabled attributes to be programmedfor memory blocks within this space except the address range 512k-640k(0008 0000h-0009 FFFFh). This latter address range is not includedbecause most current PC systems are populated with 640 KB of DRAM memorywhich spans the address space 0000 0000h-0009 FFFFh.

The next table shows the granularity defined by the DRAM Shadow andTiming Control Register for memory in the 640K-1M space (000A 0000-000FFFFFh).

Read only, write only, read/write or disabled attributes are alsoadvantageously assigned to a memory block in the 640K-1M space. The hostPCI bridge 716 response to memory access depends on whether the accessoriginates on the CPU primary bus 714 or secondary (PCI) bus 104. As anexample, a write access originating on the host bridge primary bus 714to a memory block for which the attribute bits are set to write only(code 01 in SRRn, SRWn bits of shadow register for that memory space)does not flow through the bridge 716 to the PCI bus 104. Instead, thememory access is directed via bus 714 to the main system memory 106controlled by the MCU 718. a read access to this same memory blockoriginating on bus 714 does flow through the bridge to PCI bus 104 toBIOS RAM 120 of FIG. 6, for example, and is not responded to by systemDRAM 106. This logic in bridge 716 advantageously supports copying ofBIOS RAM to DRAM, as described later hereinbelow.

MPU Granularity in 640K-1M space

    ______________________________________                                        Address Range    Usage                                                        ______________________________________                                        000A 0000h-000B FFFFh                                                                          Video memory (128 Kbyte Block)                               000C 0000h-000C 3FFFh                                                                          Expansion BIOS ROMs                                          000C 4000h-000C 7FFFh                                                                          (16 Kbyte Blocks)                                            000C 8000h-000C BFFFh                                                         000C C000h-000C FFFFh                                                         000D 0000h-000D 3FFFh                                                         000D 4000h-000D 7FFFh                                                         000D 8000h-000D BFFFh                                                         000D C000h-000D FFFFh                                                         000E 0000h-000E FFFFh                                                                          System BIOS ROMs                                             000F 0000h-000F FFFFh                                                                          (64 Kbyte Blocks)                                            ______________________________________                                    

Accesses from the host bridge 716 secondary bus (PCI bus 104) areresponded to by the bridge 716 in a different way. It is assumed thatunless a given address block is disabled, there is a PCI agent on thesecondary bus (PCI bus) that will respond to an access within thatblock. In other words, for addresses, the only accesses originating onthe host bridge secondary bus 104 that are passed through to the hostbridge primary bus 714 are those to an address block that has a"disabled" attribute. Accesses from the host bridge secondary bus 104 tomemory blocks that have been set to read/write, read only, or write onlyare responded to by the PCI agent on the secondary bus 104 and notpassed on to the primary bus 704. The table below describes how the hostPCI bridge 716 responds to accesses within the 640K-1M space:

    ______________________________________                                                             Block     Access Cycle                                   Origin of Cycle                                                                           Access   Attribute Goes to Listed Bus                             ______________________________________                                        CPU         Read     Read Oniy CPU (714)                                      Primary Bus          Write Only                                                                              PCI (104)                                                           Read/Write                                                                              CPU                                                                 Disabled  PCI                                                        Write    Read Only PCI                                                                 Write Only                                                                              CPU                                                                 Read/Write                                                                              CPU                                                                 Disabled  PCI                                            PCI         Read     Read Only CPU                                            Secondary Bus        Write Only                                                                              PCI                                                                 Read/Write                                                                              CPU                                                                 Disabled  PCI                                                        Write    Read Only PCI                                                                 Write Only                                                                              CPU                                                                 Read/Write                                                                              CPU                                                                 Disabled  PCI                                            ______________________________________                                    

The memory controller unit (MCU 718) generates timing control signalsfor the DRAM array 106. The MCU 718 is integrated on the same singlechip as the MPU 102 and supports 1 to 4 DRAM banks and up to 256M bytesor more without external buffers. The MCU 718 supports any combinationof DRAM types: 256K, 512K, 1M, 2M, 4M, 8M, or 16M. Three types ofrefresh modes are supported: normal, suspend refresh, and self refresh.DRAM timing parameters are programmable to allow optimized DRAM accessesfor 60 ns and 80 ns DRAMs at system speeds of 50 MHz and 66 MHz. The MCU718 is designed to coordinate memory accesses originating from the CPU702 with memory accesses originating from the PCI Interface bridge 716.A PCI master access to main memory 106 has higher priority than a CPU702 access to main memory 106. The CPU 702 is put on hold until the PCImaster is through bursting, unless there are higher priority refreshrequests pending.

Each of the 4 DRAM banks in memory 106 supports 1 to 64M bytes in 1Mbyte increments. The DRAM bank size is individually programmableallowing any mix of banks without restrictions on mixing DRAM size orphysical location.

Memory reads or writes to DRAM are double-word aligned 32-bit wideaccesses. The MCU 718 has one RAS line per DRAM memory bank where RASO-3correspond directly to banks 0-3. Bank 0 contains the lowest addressesand bank 3 contains the highest addresses. The MCU 718 provides eightCAS lines. Each DRAM bank uses four CAS lines; one CAS line per byte.CAS3 and CAS7 control the high-order bytes while CAS0 and CAS4 controlthe low-order bytes. CAS3-0 drives DRAM banks 0 and 2. CAS7-4 drivesDRAM banks 1 and 3.

The MCU 718 provides a common Write Enable (WE) line that is connectedto all DRAM memory banks.

DRAM Control Signal Interconnections shows the various DRAM technologiesthat are supported by the memory controller. The memory array types areselected by programming the Memory Array Type register. Each bank isindividually programmable to support any of the DRAM array types.

DRAMs Supported

    __________________________________________________________________________    Organization                   Memory                                                                             Size per                                  (Depth ×                                                                      Devices                                                                            Bits per                                                                          Address Widths  Array                                                                              Bank                                      Width)                                                                              per Bank                                                                           Device                                                                            Rows    Columns Type (Mbits)                                   __________________________________________________________________________    256K × 1                                                                      x 32 256K                                                                               9 (MA8-MA0)                                                                           9 (MA8-MA0)                                                                          2    1                                         256K × 4                                                                      x 8  1M   9 (MA8-MA0)                                                                           9 (MA8-MA0)                                                                          2    1                                         256K × 16                                                                     x 2  4M   9 (MA8-MA0)                                                                           9 (MA8-MA0)                                                                          2    1                                                        11 (MA10-MA0)                                                                          8 (MA7-MA0)                                                                          3    1                                         512K × 8                                                                      x 4  4M  10 (MA9-MA0)                                                                           9 (MA8-MA0)                                                                          2    2                                                        12 (MA11-MA0)                                                                          8 (MA7-MA0)                                                                          3    4                                         1M × 1                                                                        x 32 1M  10 (MA9-MA0)                                                                          10 (MA9-MA0)                                                                          1    4                                         1M × 4                                                                        x 8  4M  10 (MA9-MA0)                                                                          10 (MA9-MA0)                                                                          1    4                                         1M × 8                                                                        x 4  8M  10 (MA9-MA0)                                                                          10 (MA9-MA0)                                                                          1    4                                                        12 (MA11-MA0)                                                                          9 (MA8-MA0)                                                                          2    4                                         1M × 16                                                                       x 2  16M 10 (MA9-MA0)                                                                          10 (MA9-MA0)                                                                          1    4                                                        12 (MA11-MA0)                                                                          9 (MA8-MA0)                                                                          2    4                                         2M × 8                                                                        x 4  16M 11 (MA10-MA0)                                                                         10 (MA9-MA0)                                                                          1    8                                                        13 (MA12-MA0)                                                                          9 (MA8-MA0)                                                                          2    8                                         2M × 16                                                                       x 2  32M 11 (MA10-MA0)                                                                         10 (MA9-MA0)                                                                          1    8                                                        13 (MA12-MA0)                                                                          9 (MA8-MA0)                                                                          2    8                                         4M × 1                                                                        x 32 4M  11 (MA10-MA0)                                                                         11 (MA10-MA0)                                                                         0    16                                        4M × 4                                                                        x 8  16M 11 (MA10-MA0)                                                                         11 (MA10-MA0)                                                                         0    16                                        4M × 8                                                                        x 4  32M 11 (MA10-MA0)                                                                         11 (MA10-MA0)                                                                         0    16                                        4M × 16                                                                       x 2  64M 11 (MA10-MA0)                                                                         11 (MA10-MA0)                                                                         0    16                                                       13 (A12-MA0)                                                                          10 (MA9-MA0)                                                                          1    16                                        8M × 8                                                                        x 4  64M 13 (MA12-MA0)                                                                         10 (MA9-MA0)                                                                          1    32                                        16M × 1                                                                       x 32 16M 12 (MA11-MA0)                                                                         12 (MA11-MA0)                                                                         0    64                                        16M × 4                                                                       x 8  64M 12 (MA11-MA0)                                                                         12 (MA11-MA0)                                                                         0    64                                        __________________________________________________________________________     *Due to the capacitive loading caused by higher fanout on the memory          address ines, these implementations are less preferable.                 

DRAM Timing

The DRAM Interface timing is programmable on a per-bank basis to supportseveral DRAM speeds. The MCU provides two parameters that are used toprogram DRAM timing. These parameters are programmable by setting theDTMG1- 0 bits in the DRAM Shadow and Timing Control register. The firstparameter is the RAS activation to DRAM access time (DTMG1). The secondparameter is CAS to READY sampling time (DTMG0). The next table showssome example values for programming the DRAM timing types 0, 1, and 2.The timing type is selected for the entire DRAM array. The followingtable shows the number of access wait states for the different memorycycles and timing types.

DRAM Timing Types

    ______________________________________                                                       RAS     CAS to READY                                                                             System                                                                              DRAM                                  Timing                                                                              DTMG     Access  Sampling   Clock Speed                                 Type  1     0      T Cycles       (MHz) (ns)                                  ______________________________________                                        2     1     0      4     2          50    60                                  1     0     1      5     3          50    80                                                                      66    60                                   0    0     0      6     4          50    100                                                                     66    80                                  ______________________________________                                          Default.                                                                

    ______________________________________                                        Wait States for DRAM Memory Cycles                                                           Wait States (T Cycles)                                         DRAM Memory Cycle                                                                              Type 2    Type 1  Type 0                                     ______________________________________                                        Normal Read (Single)                                                                           5         6       8                                          Normal Write (Single)                                                                          4         5       6                                          Normal Read (Back to Back)                                                                     5/6       6/8      8/10                                      Normal Write (Back to Back)                                                                    4/6       5/8      6/10                                      Normal Read and Write (Back to                                                                 5/5       6/7     8/8                                        Back)                                                                         Normal Write and Read (Back to                                                                 4/7       5/9      6/12                                      Back)                                                                         Page Hit Read    3         4       6                                          Page Hit Write   2         3       4                                          Page Hit Read (Back to Back)                                                                   3/3       4/4     6/6                                        Page Hit Write (Back to Back)                                                                  2/2       3/3     4/4                                        Page Hit Read and Write (Back to                                                               3/2       4/3     6/4                                        Back)                                                                         Page Hit Write and Read (Back to                                                               2/3       3/4     4/6                                        Back)                                                                         Page Miss Read   8         10      13                                         Page Miss Write  7         9       11                                         Page Miss Read (Back to Back)                                                                  8/8       10/10   13/13                                      Page Miss Write (Back to Back)                                                                 7/7       9/9     11/11                                      Page Miss Read and Write (Back                                                                 8/7       10/9    13/11                                      to Back)                                                                      Page Miss Write and Read (Back                                                                 7/8        9/10   11/13                                      to Back)                                                                      ______________________________________                                    

System ROM 120 of FIG. 6 suitably resides in the memory space between640K and 1M. Shadowing allows the contents of the ROM to be copied toDRAM 106 at the same address thereby allowing subsequent accesses toBIOS code to be directed to the DRAM copy. System performance isincreased because the BIOS code is then executed from DRAM 106 atmemory-controller speeds instead of at slower ROM speeds.

The DRAM Shadow and Timing Control register allows blocks of memory inthe address range 768K-1M (000C 0000h-000F FFFFh) to be shadowed. Duringsystem initialization, a region of DRAM memory 106 can be set to writeonly (01 code). Reads to this address are directed to the BIOS ROM 120,while writes are directed to DRAM memory 106. A read and write to thesame ROM address reads the data from ROM and writes the data to theshadowed memory location. In this way, the entire ROM 120 contents arecopied to DRAM 106. After the ROM contents are copied to DRAM, theshadowed region in DRAM can be set to read only mode (10 in DRAM Shadowand Timing Control Register). This protects the DRAM copy fromcorruption. Subsequent accesses to ROM 120 are directed to the shadowedDRAM 106.

Video RAM/SMM Memory Support

Video RAM is suitably located in the reserved memory space 640K-768K(000A 0000h-000B FFFFh). Bit 11 (VRAM) in the DRAM Shadow and TimingControl register is used to program whether or not the MCU is to respondto accesses in that address range. When the VRAM bit configuration bitis set to zero (default), the video RAM address space is not accessed bynormal ADS or PCI initiated cycles. Cycles initiated to this addressspace are forwarded to the PCI bridge 716 and thence to bus 104 and aredecoded by a display device 114 of FIG. 7. However, cycles initiated bySystem Management Mode signal strobe (SMADS) can access the video RAMaddress space (regardless of the VRAM bit value). This allows theportion of DRAM space from A0000h-BFFFFh to be used to store systemmanagement mode (SMM) binary code. In a preferred method of systeminitialization, the VRAM bit 11 of DRAM Shadow and Timing ControlRegister is suitably set to one to enable the MCU 718 to respond toaccesses in the video RAM space. This allows the SMM code to be shadowedto the DRAM from A0000h-BFFFFh. The VRAM bit 11 can then be set back tozero to disable the MCU from responding in the video RAM space. When asystem management interrupt (SMI) is detected, SMADS is generated andSMM code shadowed in the DRAM is executed.

In FIG. 9, memory controller circuitry 718 is associated with two 32 bitwide write buffers in block 720 that temporarily store data beforewriting to DRAM. The write buffers are enabled by setting Bit 10 (WBE)in the Shadow and Timing Control register. When a write command from thehost CPU 702 occurs, the memory controller 718 compares the host addresswith the address of any buffer in block 720. If the host address matchessuch write buffer address, the host data is written to that writebuffer. The bytes that are written to the write buffer are determined bythe host byte-enable BE lines. When all 4-byte locations in the writebuffer in block 720 have been filled with host data, the buffers inblock 720 are flushed immediately to DRAM 106. If the write buffers inblock 720 have not been filled, (i.e., 1 to 3 bytes) the memorycontroller 718 does not flush the data to DRAM until subsequent writecycles either fill the write buffer, or a mismatch between the hostaddress and the buffered data address occurs. In the case of an addressmismatch, the buffer is immediately flushed to DRAM 106 and the currenthost data is written to the next available buffer. If no write buffer isavailable, the host 702 is held by the memory controller 718 until awrite buffer becomes available and the host 702 can complete the write.

Turning to the subject of DRAM refresh, DRAM refresh requests occur at aprogrammed interval (typically 15.6 microseconds in a normal refreshmode). For each refresh request, the memory controller performs a CASbefore RAS refresh, i.e., CAS is asserted first, followed by RAS. Toreduce system noise and current surges, multiple DRAM banks arerefreshed in a staggered sequential order starting with bank 0. Also,CAS before RAS refresh uses less power than the RAS only refresh. Tosupport DRAMs with longer refresh times, the memory controller 718provides programmable refresh rate capability. The DRAM refresh rate isprogrammable to intervals of 16 μs, 32 μs, 64 μs, or 128 μs. by settingthe appropriate values for Bits 1-0 (REFDIV1-0) in the DRAM Shadow andTiming Control register.

To minimize interference with host cycles, the memory controller 718supports a 4-level refresh queue. The refresh queue is enabled bysetting Bit 2 (QUEEN) of the Shadow and Timing Control register. Whenthe refresh queue is enabled, the memory controller queues up to 4refresh requests. The memory controller then waits until a host idlecycle occurs to refresh the memory.

In a Self Refresh Mode the memory controller 718 supports DRAMs withself refresh capability. This mode is enabled by setting Bit 3 (SELFREF)to a one in the Shadow and Timing Control register. Self refresh is aspecial case of CAS-before-RAS refresh in which DRAMs are capable ofgenerating their own refresh request and refresh address. This type ofrefresh is used in suspend mode wherein MPU 102 pin SUSPEND is activatedand the 32 KHz refresh clock is the only clock running. Entering selfrefresh resembles an extended CAS-before-RAS refresh. WE is high whenCAS is first driven low, to prevent the DRAM from entering a test mode.If CAS and RAS are both held low by a predetermined period (typically>16msec), DRAMs supporting self refresh begin generating their own refreshrequests and refresh addresses. When in self-refresh mode, the CAS andRAS signals must remain low, WE and OE are high and the MA memoryaddress lines are disabled to a high impedance (3-state) Self refresh isautomatically exited when CAS and RAS go high.

Suspend Refresh

The memory controller supports a low-power suspend mode. In this mode,power to the MPU and DRAM is maintained, but the MPU clocks are stoppedplacing it in a static state. Suspend refresh is useful for DRAMs thatdo not support their own self refresh. When entering suspend refreshmode, a CAS-before-RAS refresh is performed. The DRAM continues to berefreshed while the MPU is in suspend mode. When suspend mode is exited,an application program resumes. This mode is enabled by setting Bit 3(SELFREF) to a one in the Shadow and Timing Control register.

The disclosed chipset of FIGS. 5-7 also supports a lower power suspendmode, called 0-volt suspend, wherein all power is removed to the system100, including the DRAM 106. In this state only the resume state machinelogic called PMU 920B in PPU 110 is powered. All system information isstored to either a hard disk or other non-volatile memory array.

A Page mode is enabled by setting bit 4 (PGMOD) in the Shadow and TimingControl register. Page mode supports faster access and lower powerdissipation than normal memory cycles. A page mode cycle begins with anormal cycle. While RAS is kept low to maintain the row address, CAS iscycled to strobe in additional column addresses. This eliminates thetime required to set up and strobe sequential row addresses for the samepage.

The memory controller unit 718 uses a memory address multiplexing schemethat supports different DRAM sizes. The multiplexing schemes for thevarious DRAMS are shown in detail in the next table. The memory address(MA) is shown across the top. The numbers located in the MA columns arethe host address (HA) lines corresponding to the remapped memory row andcolumn addresses. There are two bits, MATx1 and MATx0 (x is the memorybank number), for each of the four memory banks located in the MemoryArray Type register that are used to select the DRAM array type.

Memory Address Multiplexing Scheme

    __________________________________________________________________________    MA12   MA11                                                                              MA10                                                                              MA9                                                                              MA8                                                                              MA7                                                                              MA6                                                                              MA5                                                                              MA4                                                                              MA3                                                                              MA2                                                                              MA1                                                                              MA0                                 __________________________________________________________________________    Memory Array Type 0 - 11/12-Bit Column Address Width                          Row                                                                              25  24  23  22 21 20 19 18 17 16 15 14 13                                  Col                                                                              --  25  12  11 10 9  8  7  6  5  4  3  2                                   Memory Array Type 1 - 10-Bit Column Address Width                             Row                                                                              24  23  22  21 20 19 18 17 16 15 14 13 12                                  Col                                                                              --  --  --  11 10 9  8  7  6  5  4  3  2                                   Memory Array Type 2 - 9-Bit Column Address Width                              Row                                                                              23  22  21  20 19 18 17 16 15 14 13 12 11                                  Co1                                                                              --  --  --  -- 10 9  8  7  6  5  4  3  2                                   Memory Array Type 3 - 8-Bit Column Address Width                              Row                                                                              22  21  20  19 18 17 16 15 14 13 12 11 10                                  Col                                                                              --  --  --  -- -- 9  8  7  6  5  4  3  2                                   __________________________________________________________________________

In FIG. 9, the MPU 102 numeric coprocessor interface 710 has pins forconnection to a math coprocessor 108 for floating point or other fastcalculations in the FPU Interface Table earlier hereinabove. Signal pinsconnect between the MPU 102 numeric coprocessor interface 710, a 387DXor 487DLC numeric coprocessor 108 and the PPU 110 input FPUERR. PPU 110has an integrated interrupt controller 914 of FIGS. 11 and 43. When anerror signal is sent by the numeric coprocessor 108 to MPU pin NPERROR,the MPU 102 responsively asserts the IRQ13 signal at its FPUERR pin. TheIRQ13 signal is fed to the PPU 110 FPUERR pin. PPU 110 processes theinterrupt request with controller 914 in FIG. 43 and causes a numericprocessor error interrupt service routine to be executed.

When numeric coprocessor 108 is performing operations, its BUSY outputis asserted low. When the coprocessor 108 needs to transfer data, itsPEREQ output is asserted high. The BUSY and PEREQ outputs from thecoprocessor 108 are connected to the MPU inputs NPBUSY and PEREQrespectively. The NPBUSY and PEREQ inputs of the MPU 102 are internallyconnected to the 486 core processor 702 inputs BUSY486 and PEREQ486,respectively.

During a normal cycle, when no error occurs, the internal BUSY486 isasserted when the coprocessor 108 asserts BUSY and deasserted when thecoprocessor 108 deasserts BUSY. PEREQ486 is also asserted when thecoprocessor asserts PEREQ and deasserted when the coprocessor 108deasserts PEREQ.

When a numeric coprocessor error occurs, the coprocessor 108 asserts itsERROR output low. The falling edge of this signal causes the internalBUSY486 to be latched in a Busy Latch and IRQ13 to go active, triggeringthe IRQI3 interrupt request FPUERR to PPU 110. When the coprocessor 108deasserts BUSY, the internal PEREQ486 signal is asserted. The interruptservice routine then executes on MPU 102, starting at an interruptvector address supplied by interrupt controller 914, and MPU 102 writesto I/O address 00F0h which deasserts IRQ13, PEREQ486, and BUSY486.

Turning to Power Management Interface 708 of FIGS. 9, 27, 36 and 33, MPU102 supports two low-power modes: Toff and Suspend. In Toff mode theclock ph1/ph2 of FIG. 36 to the core processor portion 702 of the MPU102 is stopped by signal (SUSP) of FIG. 33 in response to MASKCLK(hmaskclk). In suspend mode all clocks, except the 32 KHz clock, arestopped and the oscillator OSC and clock multiplying phase lock loop PLL706 are disabled. The MPU 102 is fully static in suspend mode, exceptfor circuitry in MCU 718 that refreshes the DRAMs 106. In a ready Mode,SUSPEND and MASKCLK signals are inactive and the core processor 702 runsat full speed.

To enter Toff mode, the SUSPEND signal pin (hsuspendx of FIG. 33) isheld inactive, and either the MASKCLK (hmaskclk) signal is asserted inhardware of FIG. 27, or bit 6 of a CPU 702 register CCR0 is toggled from0 to 1 (region 6) by software. The core processor 702 finishes thecurrent instruction and bus cycle and then its clock is stopped bycircuit 2840 of FIG. 33. As shown in FIG. 36, the PCI bridge 716 and thememory controller MCU 718 are not affected. Any hardware interrupt tocircuit 2840 of FIG. 33, (i.e. INTR (hintr), NMI (hnmi), or SMI smi₋₋in) of FIG. 33, or deassertion of MASKCLK, a PCI master request, orassertion of HOLD restarts the core processor clock phl/ph2 of FIG. 36.The core processor clock ph1/ph2 advantageously restarts with a maximumlatency of one oscillator clock cycle as a result of the location ofclock gate 3610 between CPU core 702 and PLL 706. The core processorclock stability and duty cycle requirements are maintained duringtransitions into and out of the Toff Mode.

In Suspend Mode, assertion of the SUSPEND input (hsuspendx) pin signalto MPU 102 in FIG. 33 not only masks the core processor 702 clock viagate 3610, but also PCI bridge and memory controller MCU 718 have theirrespective clocks hclk2, hpclk masked as well as all clock outputs(PCLKOUT and NPUCLK) by further advantageous clock gates 3622 and 3624in pair 3620. Beforehand, internal MPU block 718 of FIG. 33 acknowledges(by signal hstopfmmcu) that it can stop, whereupon signal hstoposc isgenerated and the clock outputs from gates 3620 are stopped by controlsignal ENX of FIGS. 34 and 36. When SUSPEND is deasserted, the suspendmode is terminated and the oscillator is enabled by control signalresume. After a short time, the clock signals to the MPU 102 arerestarted and PLL 706 restarts. Stability and duty cycle requirementsare maintained for all clocks during transitions into and out of suspendmode.

In the following charts of registers, the default value in every bit iszero (0) unless the notes indicate otherwise by an "always" entry.

The PCI Configuration registers 712 are accessed by using Index/Dataregister pair. The Index register is used to select a particularregister in the PCI configuration space. The Data register is used towrite/read data to/from the particular register selected by the Indexregister. The Index register is 32-bits and is located in the I/O map ataddress 0CF8h-0CFBh and may be accessed only as a full double-word I/O.The Data register is a 32-bit register located in the I/O map at address0CFCh-0CFFh and may be accessed in bytes, words, or as a double word.

The bits in the Index register are defined as follows: Bit 31 should bea 1 to enable the generation of a PCI configuration cycle.

Bits 30-24 are reserved.

Bits 23-16 define the PCI bus number. This is used only in systems thatsupport hierarchical PCI buses.

Bits 15-11 define the PCI device number. The PCI device number istranslated to a unique AD line that is connected to the IDSEL line of aPCI device and is used as a chip select during a PCI configurationcycle.

Bits 10-8 define a functional group within the target PCI device.

Bits 7-0 define the index of a double-word location with PCIconfiguration space of a target device. Bits 1-0 are hardwired to zero.Internally, BE3-0 are used to determine which bytes to access from theData register.

The PCI configuration block 712 contains registers that can be used toprogram the MPU 102 features including the memory control unit and thePCI bridge. Programming these registers is a two-step process: Write thebus number, physical device number, functional number, and Data registerindex to the Address register (CF8h-CFBh) as a double-word I/O writeoperation.

Perform an I/O read or write to the Data register (CFCh-CFFh). Bit 31 ofthe Index register (CF8h-CFBh) should be set to a one to convert thehost I/O cycle to the Data register to a PCI configuration cycle on thePCI bus 104. The PCI configuration cycle generated is a Type 0,Mechanism #1 as defined by the PCI Local Bus Specification, revision2.0.

The table shows how information in the Address register is translated bythe host PCI bridge into a PCI configuration cycle.

    ______________________________________                                        Address Register                                                              Device Number Bits                                                                              PCI AD BUS Bits                                             Device 15    14    13  12  11   31  30   29  28   27  26                      ______________________________________                                        Host   0     0     0   0   0    0   0    0   0    0   0                       PPU    0     0     0   0   1    0   0    0   0    0   1                       PCU    0     0     0   i   0    0   0    0   0    i   0                       VCA    0     0     0   1   1    0   D    0   1    0   0                       MASTER 0     0     1   0   0    0   0    1   0    0   0                       SLAVE1 0     0     1   0   1    0   1    0   0    0   0                       SLAVE2 0     0     1   1   0    1   0    0   0    0   0                       None   0     0     1   1   1    Not Permitted                                        0     1     X   X   X                                                         1     0     X   X   X                                                         1     1     X   X   X                                                  ______________________________________                                    

The location of the Index/Data register pair can be relocated by writinga value to the upper four bits of a Relocation register (Data registerIndex 50 in the PCI configuration space). These four bits become theupper four bits of the Index/Data register pair address. For example,the default address for the Index register is 0CF8h-0CFBh followed bythe Data register at 0CFCh-0CFFh. If a value of 1 is written to theupper four bits of the Relocation register, then the Index/Data pairwould move to I/O location 1CF8h-1CFFh; a value of 2 would move theaddress to I/O location 2CF8h-2CFFh; etc. The initial write to theRelocation register is done through the Index/Data register at thedefault address.

An I/O mapping process is an alternative to the Index/Data register pairto access the PCI Configuration registers. The I/O mapping featureallows 256-byte configuration space of each PCI device to be mapped tothe I/O address Cx00h-CxFFh, where x represents the PCI device number.Therefore, the PCI configuration space for the host PCI device would beaccessed at I/O address C000h-C0FFh; the PCI configuration space for PCIdevice 1 would be accessed at I/O address C100h-C1FFh; etc. The I/Omapping feature is enabled by writing a 1 to bit 3 of the Relocationregister. The initial write to the Relocation register is done throughthe Index/Data register at the default address.

MPU Configuration Registers

    ______________________________________                                        Default Ad-                                                                   dress (h                                                                              Register            Abbr.   Access                                    ______________________________________                                        00-01   Vendor Identification                                                                             VID     R                                         02-03   Device Identification                                                                             DID     R                                         04-05   Command             COMM    Mixed                                     06      Reserved            --      R/W                                       07      Status              STS     Mixed                                     08      Revision Code       REVID   R                                         09-0B   Device Class Code   CLCD    R                                         0C      Cache Line Size     CLNSZ   R/W                                       0D      Latency Timer       LTMR    R                                         0E-0F   Reserved            --      R                                         A0-A3   Top Memory Address Bank Select                                                                    TMA     R/W                                       A4-A7   DRAM Shadow and Timing Control                                                                    STC     R/W                                       A8      Memory Array Type   MAT     R                                         A9-AB   Reserved            --      R                                         50      Relocation          RLC     R/W                                       51-53   Reserved            --      R/W                                       ______________________________________                                    

Device and Vendor ID Register

Data-Register Index (hex ): 00

    ______________________________________                                        Bit       Name      Access    Description                                     ______________________________________                                        31-16     DID15-0   R         Device ID. (0A02h)                              15-0      V1D15-0   R         Vendor ID. (104Ch)                              ______________________________________                                    

Status and Command Register

Data-Register Index (hex): 04

    ______________________________________                                        Bit   Name     Access  Description                                            ______________________________________                                        31    PERR     R/W     Set to 1 when parity error is detected,                                       even if parity error handling is disabled.                                    Cleared by writing a 1.                                30    SYSERR   R/W     Set to 1 when SERR is asserted by MPU.                                        Cleared by writing a 1.                                29    MABT     R/W     Set to 1 when master is aborted (except                                       for special cycle). Cleared by writing a                                      1.                                                     28    TABT     R/W     Set to 1 when the bridge is terminated by                                     a target-abort. Cleared by writing a 1.                27    --       R       Always 0.                                              26-25 DEVTMG   R       Always 01. DEVSEL is asserted two                                             clocks after FRAME is asserted.                        24    DPDET    R/W     This bit is used only when MPU is a bus                                       master. It is set when three conditions                                       are met: 1) the MPU asserted PERR itself                                      or observed PERR asserted; 2) the MPU                                         acted as the bus master for the operation                                     in which the error occurred; 3) the Pari-                                     ty Error Response bit (bit 6) is set.                  23-16 --       R/W     Reserved.                                              15-9  --       R/W     Reserved.                                              8     SERR     R/W     Enable bit for the SERR driver. A value of                                    0 disables the SERR driver. A value of 1                                      enables the SERR driver. This bit's state                                     after reset is 0. This bit (and bit 6)                                        must be on to report address parity er-                                       rors.                                                  7     --       R       Always 0.                                              6     PAR      R/W     1 = Enable parity reporting                                                   0 = Disable                                            5-3   --       R       Always 0.                                              2-1   --       R       Always 1.                                              0     --       R       Always 0.                                              ______________________________________                                    

Revision Code and Device Class Code Registers

Data-Register Index (hex ): 08

    ______________________________________                                        Revision Code and Device Class Code Registers                                 Data-Register Index (hex): 08                                                 Bit      Name       Access   Description                                      ______________________________________                                        31-24    DCC23-16   R        Device class code. 06h                           23-16    DCC15-8    R        Device class code. 00h                           15-8     DCC7-0     R        Device class code. 00h                           7-0      RC7-0      R        Revision code. 0h                                ______________________________________                                    

Cache Line Size and Latency Timer Registers

Data-Register Index (hex ): 0C

    ______________________________________                                        Bit   Name      Access  Description                                           ______________________________________                                        31-24 --        R       Always 00h.                                           23-16 --        R       Always 00h.                                           15-8  LTMR7-0   R       Latency timer. Always 00h.                            7-0   CLNSZ7-0  R/W     Cache line size. Default: 00h (KEN                                            high; memory non-cacheable).                          ______________________________________                                    

Relocation Register

Data-Register Index (hex): 50

    ______________________________________                                        Bit   Name     Access  Description                                            ______________________________________                                        31-8  --       R/W     Reserved                                               7-4   IDRA3-0  R/W     Upper 4 bits of the index-data register                                       address.                                               3     IDEN     R/W     1 = Enable accessing PCI configuration                                        space via Cx00h-CxFFh.                                                        0 = Disable                                            2-0   --       R/W     Reserved.                                              ______________________________________                                    

Top Memory Address Bank Select Registers

Data-Register Index (hex): A0

    ______________________________________                                        Bit   Name      Access  Description                                           ______________________________________                                        31-24 TMA31-24  R/W     Top memory address for banks 3, 2, 1,                                         and 0: A27-A20.                                                               NOTE: Bits 31-29 = 110 are used for                                           test purposes; therefore, this                                                combination (110 only) should be                                              avoided in normal operation.                          23-16 TMA23-16  R/W     Top memory address for banks 2, 1,                                            and 0: A27-A20.                                       15-8  TMA15-8   R/W     Top memory address for banks 1 and 0:                                         A27-A20.                                              7-0   TMA7-0    R/W     Top memory address for bank 0:                                                A27-A20.                                              ______________________________________                                    

DRAM Shadow and Timing Control Register

Data-Register Index (hex): A4

The DRAM Shadow and Timing Control register defines which 16-Kbyteblocks in the address range 000C 0000h-000D FFFFh are shadowed. TheSRRn/SRWn bits, corresponding to each block, define what type of accessis allowed to the DRAM in the address range, as shown for bits 31-30,below.

    __________________________________________________________________________    Bit Name   Access                                                                            Description                                                    __________________________________________________________________________    31-30                                                                             SRR9, SRW9                                                                           R/W Access control for 000C C000-000C FFFFh.                                      SRRn                                                                              SRWn                                                                              Access                                                 __________________________________________________________________________                   0   0   No access (ROM access)                                                        "(disabled")                                                          0   1   Write Only (read from ROM)                                            1   0   Read only (write to ROM)                                              1   1   Read/write.                                            29-28                                                                             SRR8, SRW8                                                                           R/W Access control for 000C 8000-000C BFFFh.                                      (Same as 31-30)                                                27-26                                                                             SRR7, SRW7                                                                           R/W Access control for 000C 4000-000C 7FFFh.                                      (Same as 31-30)                                                25-24                                                                             SRR6, SRW6                                                                           R/W Access control for 000C 0000-000C 3FFFh.                                      (Same as 31-30)                                                23-22                                                                             SRR5, SRW5                                                                           R/W Access control for 000D C000-000D FFFFh.                                      (Same as 31-30)                                                21-20                                                                             SRR4, SRW4                                                                           R/W Access control for 000D 8000-000D BFFFh.                                      (Same as 31-30)                                                19-18                                                                             SRR3, SRW3                                                                           R/W Access control for 000D 4000-000D 7FFFh.                                      (Same as 31-30)                                                17-16                                                                             SRR2, SRW2                                                                           R/W Access control for 000D 0000-000D 3FFFh.                                      (Same as 31-30)                                                15-14                                                                             SRR1, SRW1                                                                           R/W Access control for 000F 0000-000F FFFFh:                                      (Same as 31-30)                                                13-12                                                                             SRR0, SRW0                                                                           R/W Access control for 000E 0000-000E FFFFh.                                      (Same as 31-30)                                                11  VRAM   R/W 1 = MCU responds to 000A 0000-000B                                            FFFFh.                                                                        0 = MCU does not respond.                                      10  WBE    R/W Write buffer enable.                                                          1 = Enable.                                                                   0 = Disable.                                                   9-8 ENB1-0 R/W Bank enable:                                                                  ENB1                                                                              ENB1                                                                              Enable                                                 __________________________________________________________________________                   0   0   Bank 0                                                                0   1   Banks 0 and 1                                                         1   0   Banks 0, 1, and 2                                                     1   1   All 4 banks                                            __________________________________________________________________________

DRAM Shadow and Timing Control Register (Continued)

    __________________________________________________________________________    Bit                                                                              Name  Access                                                                            Description                                                      __________________________________________________________________________    -6 DTMG1-0                                                                             R/W Wait states for RAS access timing and CAS                                     to RDY sampling.                                                                        RAS Access                                                                          CAS to Ready                                                  DTMG1                                                                              DTMG0                                                                              Time  Sampling                                         __________________________________________________________________________                 0    0    6 T Cycles                                                                          4 T Cycles                                                    0    1    5 T Cycles                                                                          3 T Cycles                                                    1    0    4 T Cycles                                                                          2 T Cycles                                                    1    1    Reserved                                                                            Reserved                                         5  PGHM  R/W Page hit/miss sampling point.                                                 1 = at end of T1.                                                             0 = at end of T2.                                                4  PGMOD R/W Page mode enable. The MCU enables page                                        mode.                                                                         1 = On.                                                                       0 = Off.                                                         3  SELFREF                                                                             R/W DRAM self refresh.                                                            1 = On                                                                        0 = Off                                                          2  QUEEN R/W Refresh 4-deep queuing enable.                                                1 = Enable.                                                                   0 = Disable.                                                     1-0                                                                              REFDIV                                                                              R/W Refresh period.                                                               REFDIV                                                                             REFDIV                                                                             Period                                                 __________________________________________________________________________                 1    0                                                                        0    0    16 μsec.                                                         0    1    32 μsec.                                                         1    0    64 μsec.                                                         1    1    128 μsec.                                           __________________________________________________________________________

Memory Array Type Register

Data-Register Index (hex ): A8

    __________________________________________________________________________    Bit Name  Access                                                                            Description                                                     __________________________________________________________________________    31-24                                                                             Reserved                                                                            R                                                                   23-16                                                                             Reserved                                                                            R                                                                   15-8                                                                              Reserved                                                                            R                                                                   7-6 MAT3 (1-0)                                                                          R/W Memory array type bank 3.                                                     MAT3                                                                              MAT3 DRAM                                                                             Column Address Width                                __________________________________________________________________________                  1   0                                                                         0   0       11/12                                                             0   1       10                                                                1   0       9                                                                 1   1       8                                                   -4  MAT2 (1-0)                                                                          R/W Memory array type bank 2.                                                     MAT2                                                                              MAT2 DRAM                                                                             Column Address Width                                __________________________________________________________________________                  1   0                                                                         0   0       11/12                                                             0   1       10                                                                1   0       9                                                                 1   1       8                                                   3-2 MAT1 (1-0)                                                                          R/W Memory array type bank 1.                                                     MAT1                                                                              MAT1 DRAM                                                                             Column Address Width                                __________________________________________________________________________                  1   0                                                                         0   0       11/12                                                             0   1       10                                                                1   0       9                                                                 1   1       8                                                   1-0 MAT0 (1-0)                                                                          R/W Memory array type bank 0.                                                     MAT0                                                                              MAT0 DRAM                                                                             Column Address Width                                __________________________________________________________________________                  1   0                                                                         0   0       11/12                                                             0   1       10                                                                1   0       9                                                                 1   1       8                                                   __________________________________________________________________________

Features of PPU 110 include:

Bus 104 interface for PCI

Provides a fast internal bus for integration of AT peripherals.

Short PCI bus ownership when mastering to minimize overall systemlatency.

Fast DMA transfers from internal I/O devices to PCI agents. Supportsdisconnection (with retry) for slow internal accesses to improvelatency.

PCI clock frequency up to 33 MHz and higher at both 5 V and 3.3 V.

Fast internal AT clock range from PCLK/2 to PCLK/4 (frequency divisionof bus 104 clock).

PCI bus 104 arbitration for CPU, PPU, and up to two or more external PCIbus masters.

Fully compatible with PC-AT architecture.

Two 8237 compatible DMA controllers.

Two 8259-compatible interrupt controllers. Each channel is individuallyprogrammable to level or edge triggered mode.

Interrupt router that routes external PCI and PCMCIA interrupts to asoftware-selectable interrupt channel.

8254-compatible timer/counter.

MC146818-compatible RTC with integrated low-power 32-kHz oscillator and128-byte CMOS SRAM.

Power Management

CPU clock control without SMI intervention

Mixed 3.3 V/5 V support

System activity timers (STANDBY timer and SUSPEND timer) monitoring of:

PCI bus activity (DEVSEL)

VGA frame buffer activity

Direct memory access (DMA) requests

Serial port interrupts and chip selects (COM1)

Parallel-port interrupts and chip select (LPT1)

Hard-disk-controller interrupts and chip select

Floppy-disk-controller interrupts and chip select

Programmable chip select (PCSO and PCS1)

Other interrupts (IRQ9, IRQ10, IRQ11, and IRQ15)

Short term CPU clock speedup timer monitoring of:

Keyboard IRQ or mouse IRQ

PCI bus master cycle requests

Masked system activity timer output

Peripheral activity timers

IDE

FDD

COM1

Programmable CS0, CS1

VGA frame buffer

CPU clock masking by hardware with programmable register for adjustinggate-on/gate-off ratio bidirectional SMI handshaking protocol support:

Six I/O trap SMI support:

IDE, FDC, COM1, LPT1, programmable chip-select 0 and 1

Four-bit backlight intensity adjustment pulse-width modulation (PWM)

Fully static solution (100-μA/chip maximum drain at 3.3 V)

Resume can be caused by RTC alarm, modem ring, suspend/resume button,keyboard IRQ, mouse IRQ, ON/OFF button, PCU's CRDSMI, or a low-to-hightransition on the BATLOW input.

Shadow registers for saving full system state to disk

Bus quieting and I/O leakage current control

Full hardware for Microsoft advanced power management software

FDC (Floppy Disk Controller)

Functionally compatible with Intel 82077SL

Supports 3.5-inch drives (720 kB, 1.44 MB and 2.88 MB)

Supports 5.25-inch drives (360 kB and 1.2 MB)

All buffers integrated

Supported track formats:

IBM System 34 format (MFM)

Perpendicular 500 kb/s format (MFM)

Perpendicular 1-Mb/s format (MFM)

Data FIFO during execution phase of read/write command 255-steprecalibrate command

Software reset

Integrated floppy data separator with no external components

Supports at least one Floppy Drive

Drive Interface signals can be multiplexed to parallel port pins for usewith external drive

Serial interface

16c550-compatible serial port

16-byte FIFO

Selectable timing reference clock: 1.8461 MHz or 8 MHz

Parallel port

Compatible with standard Centronics parallel interface

Support for fast parallel protocols: ECP and EPP 16-byte data path FIFObuffer

Direct memory access (DMA) transfer

Decompression of run length encoded data in ECP reverse mode

IDE Interface (hard disk)

Complete IDE interface logic. IDE hard disk is isolated and can bepowered off independently.

Supports high-speed IDE access

XD-bus interface

Support for BIOS ROM (can be flash EEPROM)

Provides keyboard controller connections

Two user-programmable chip selects

Audio CODEC support

The PCI bus interface 902 provides both a master and a slave interfaceto the PCI bus 104. As a PCI master, the PPU runs cycles on behalf ofthe DMA master and manages internal data routing.

When reading data or writing data from/to the PCI bus, the PPU transfersa double word. The PPU does not have to generate PCI I/O cycles as amaster. As a PCI slave, the PPU accepts cycles initiated by PCI masterstargeted for the PPU's internal register set or internal fast-AT bus.

As a resource, the PPU can be locked by any PCI master. In the contextof locked cycles, the entire PPU subsystem (including the internalfast-AT bus) is considered a single resource.

PCI arbiter 906 provides support for four PCI masters; the MPU (host),PPU, and two other PCI masters. The arbiter 906 controls host access tothe PCI bridge by using HOLD/HLDA handshake protocol. This implies thatthe host is always parked on the PCI bus. PPU accesses to the PCI busare controlled by internal request/grant signals, while accesses byexternal PCI masters are controlled by external request/grant signals.Arbitration is based on a fair rotation scheme and allows for one masteragent to be assigned as a super agent. The arbiter supports lockedcycles by implementing a PCI bus lock.

The PPU contains an internal wholly on-chip fast-AT bus 904 that issimilar to the ISA bus. However, the on-chip fast-AT bus is dynamicallyprogrammable and runs at higher than typical ISA bus speeds. Fast-AT busspeeds, for IDE accesses and non-IDE accesses, can be independentlyprogrammed to run at 1/2, 1/3, or 1/4 the PCI clock speed of bus 104.

The PPU has a section 912 that incorporates the functionality of an82206 peripheral controller chip. Included are two 82C37-compatible DMAcontrollers 910, two 82C59-compatible interrupt controllers 914, one82C54 compatible timer/counter 916, and an MC146818-compatible real-timeclock 918 with 114 bytes of CMOS RAM memory. A high-page register isincluded in the DMA subsystem to support DMA to a 32-bit memory address.The PPU provides an XD bus and control signals that are used to supportBIOS ROM (including flash EEPROM) and keyboard controller. Additionally,two programmable chip selects are provided that can be used to supportadditional peripheral devices such an audio CODEC chip. The XD bus isshared with the IDE hard disk interface and is used as the lower byte ofthe IDE data bus.

Serial/Parallel Ports

The PPU provides one 16C550 compatible serial interface port and oneparallel port. The parallel port is capable of supporting protocols forextended capabilities port (ECP), enhanced parallel port (EPP), and thestandard Centronics bidirectional port. DMA accesses are supported underthe ECP and EPP protocols.

Power Management Unit

The power management unit (PMU) 920 subsystem provides distributed powermanagement of system peripherals through the use of activity timers andI/O trapping system-management interrupts.

Centralized power-management logic, primarily used for controlling theCPU clock, is provided through system standby 2420 and suspend SUSPtimers. Additionally, a temporary-on timer TEMP can be enabled to slowdown the CPU clock between key-strokes without software intervention.These timers, along with a short latency (approximately 100 ns) inrestoring the CPU clock to full speed, can be used to dynamically savepower with minimal affect on system performance.

Terminal Assignments/PPU Signal Pin Descriptions

    __________________________________________________________________________    PIN      I/O BUFFER                                                           NAME  NO.                                                                              TYPE                                                                              TYPE FUNCTION                                                    __________________________________________________________________________    Extended Capabilities Parallel Port (ECP)                                     STB   195                                                                              O   +12  Std Mode: Strobe. Latches data into                         (HostClk)    mA,  the printer.                                                             FS   ECP Mode: Host clock. Registers data                                          or address into the slave.                                  PDATA7                                                                              205                                                                              I/O TTL, Address/Data. Contains address or data                      PDATA6                                                                              204                                                                              I/O hys/                                                             PDATA5                                                                              203                                                                              I/O TTL                                                              PDATA4                                                                              202                                                                              I/O +12 mA                                                           PDATA3                                                                              200                                                                              I/O                                                                  PDATA2                                                                              199                                                                              I/O                                                                  PDATA1                                                                              198                                                                              I/O                                                                  PDATA0                                                                              197                                                                              I/O                                                                  ACK   2  I/O TTL, Std Mode: Acknowledge. Indicates a                          PeriphClk    hys, successful data transfer.                                                FS/TTL,                                                                            ECP Mode: Peripheral clock. Indicates                                    FS,  valid data is being driven by the                                        +12 mA                                                                             peripheral when asserted. Handshakes                                          with HostAck in reverse.                                    BUSY  3  I/O TTL, Std Mode: Busy. Goes high when printer                      PeriphAck    hys, is not ready to accept data.                                             FS/TTL,                                                                            ECP Mode: Peripheral acknowledge. This                                   FS,  signal deasserts to indicate that the                                    +12 mA                                                                             peripheral can accept data. In the                                            reverse direction this signal, when                                           high, indicates the data is a command                                         (normally RLE).                                             PE    4  I/O TTL, Std Mode: Paper empty. Indicates                            AckReverse   hys, printer has run out of paper.                                            FS/TTL,                                                                            ECP Mode: Acknowledge reverse. Used to                                   FS,  acknowledge a change in the transfer                                     +12 mA                                                                             direction. Asserted indicates forward,                                        deasserted indicates reverse.                               SLCT  5  I/O TTL, Std Mode: Select. Goes high when                            Xflag        hys, printer has been selected.                                               FS/TTL,                                                                            ECP Mode: External flag. Indicates                                       FS,  printer on line.                                                         +12 mA                                                           AFD   196                                                                              0   TTL, Std Mode: Autofeed. Indicates paper is                      HostAck      +12 mA                                                                             to be autofed to the printer.                                                 ECP Mode: Host acknowledge. Requests a                                        byte of data from the peripheral when                                         asserted, handshaking with PeriphClk                                          in the reverse direction. In the for-                                         ward direction, this signal indicates                                         whether the data lines contain ECP                                            address or data.                                            FAULT 207                                                                              I/O TTL, Std Mode: Fault. Indicates printer                          PeriphReq    hys, error condition.                                                         FS/TTL,                                                                            ECP Mode: Peripheral interrupt                                           FS,  request. Generates an error interrupt                                    +12 mA                                                                             when asserted.                                              INIT  208                                                                              O   TTL, Std Mode: Initialize. Printer                               ReverseReq   +12 mA                                                                             initialize.                                                                   ECP Mode: Reverse request. Sets the                                           transfer direction to reverse when                                            asserted, and forward when deasserted.                      SLIN  1  O   TTL, Std Mode: Select line printer. Selects                      ECPMOde      +12 mA                                                                             the printer when active.                                                      ECP Mode: Extended capabilities mode.                                         Always asserted in ECP mode.                                __________________________________________________________________________      Names in parenthesis indicate signal names when used as an industry          standard parallel port.                                                        TTL = TTL thresholds, hys = hysteresis, and FS = failsafe for input          buffers. TTL = TTL thresholds, FS = failsafe, and drive current is shown      in mA for output buffers.                                                

    __________________________________________________________________________    PPU Signal Pin Descriptions                                                                BUFFER                                                           PIN      I/O TYPE                                                             NAME  NO.                                                                              TYPE                                                                              mA   FUNCTION                                                    __________________________________________________________________________    Floppy Disk Controller (FDC)                                                  HD    167                                                                              O   TTL, High density select.                                                     OD, 24                                                                        mA                                                               ED    180                                                                              O   TTL, Extra high density select.                                               OD, 24                                                                        mA                                                               FDDIR 170                                                                              O   TTL, Direction. This output determines the                                    OD, 24                                                                             direction of the head movement (active =                                 mA   step in, inactive = step out) during a                                        seek operation. During read or write,                                         FDDIR is inactive.                                          DSKCHG                                                                              182                                                                              I   TTL, Disk change. This input indicates if the                                 hys  drive door has been opened. The state of                                      the pin is available from the digital                                         input register (DIR).                                       HDSEL 179                                                                              O   TTL, Head select. This output determines                                      OD, 24                                                                             which side of the disk drive is ac-                                      mA   cessed. Active selects side 1, inactive                                       selects side 0.                                             MEN   169                                                                              O   TTL, Motor enable. Decoded motor enable for                                   OD, 24                                                                             the drive. This output is directly con-                                  mA   trolled by the digital output register                                        (DOR). It also acts as drive select.                        INDEX 168                                                                              I   TTL, Index. Indicates the beginning of the                                    hys  track.                                                      RDATA 178                                                                              I   TTL, Read data. Serial data from the disk.                                    hys                                                              STEP  172                                                                              O   TTL, Step. Supplies step pulses to the drive.                                 OD, 24                                                                        mA                                                               TRACK0                                                                              175                                                                              I   TTL, Track 0. Indicates that the head is on                                   hys  track 0.                                                    WDATA 173                                                                              O   TTL, Write data. FM or MFM data to the disk.                                  OD, 24                                                                        mA                                                               FDWE  174                                                                              O   TTL, Write enable. Drive control that enables                                 OD, 24                                                                             the head to write.                                                       mA                                                               WRP   177                                                                              I   TTL, Write protect. Indicates whether the                                     hys  drive is write protected.                                   Integrated drive electronics (IDE)                                            CS1FX 165                                                                              O   TTL, Drive chip select 0. This chip-select                                    +12 mA                                                                             signal is decoded from the address bus                                        and used to select the command block                                          registers.                                                  CS3FX 166                                                                              O   TTL, Drive chip select 1. This chip-select                                    +12 mA                                                                             signal is decoded from the address bus                                        and used to select the command block                                          registers.                                                  DA2   164                                                                              O   TTL, Drive address bus. This is a 3-bit                          DA1   162                                                                              O   +12 mA                                                                             binary-coded address used to access a                       DA0   163                                                                              O        register or data port in the drive. DA1                                       and DA0 are also used for byte address-                                       ing from a 32-bit access between the                                          host and the SD bus.                                        DD15  154                                                                              I/O TTL, Drive data bus. upper byte of IDE data                      DD14  153                                                                              I/O hys/ bus.                                                        DD13  151                                                                              I/O TTL                                                              DD12  150                                                                              I/O +12 mA                                                           DD11  149                                                                              I/O                                                                  DD10  148                                                                              I/O                                                                  DD9   146                                                                              I/O                                                                  DD8   145                                                                              I/O                                                                  IDEIOR                                                                              158                                                                              O   TTL, Drive I/O read.                                                          +12 mA                                                           IDEIOW                                                                              156                                                                              O   TTL, Drive I/O write.                                                         +12 mA                                                           IDEIRQ                                                                              160                                                                              I   TTL, Drive interrupt request. Used to inform                                  hys  the system that the drive has an inter-                                       rupt pending.                                               IDERST                                                                              155                                                                              O   TTL, Drive reset. Used to reset the IDE                                       +12 mA                                                                             drive.                                                      IOCS16                                                                              161                                                                              I   TTL, I/O chip select 16. This input indi-                                     hys  cates to the host system that the                                             16-bit data port has been addressed and                                       that the hard drive is prepared to send                                       or receive a 16-bit data word.                              IOCHRDY                                                                             159                                                                              I   TTL, I/O channel ready. This input is                                         hys  deasserted by a target to extend the                                          current I/O cycle.                                          __________________________________________________________________________

    ______________________________________                                        Interrupt Controller Interface                                                INTR    82     O     TTL,  Interrupt. Used to indicate to the CPU                                  +2 mA that an interrupt has been generated.              KBDIRQ  113    I     TTL,  Keyboard controller interrupt request.                                  hys                                                      MSIRQ   114    I     TTL,  Mouse interrupt request.                                                hys                                                      CRDAIORQ                                                                              90     I     TTL,  PCMCIA card A I/O interrupt                                             hys   request.                                           CRDBIORQ                                                                              91     I     TTL,  PCMCIA card B I/O interrupt                                             hys   request.                                           CRDSRVRQ                                                                              92     I     TTL,  PCMCIA card and socket services                                         hys   interrupt request. This signal is                                             shared by card slots A and B.                      FPUERR  99     I     TTL,  FPU error input. Used to trigger                                        hys   INT13.                                             ______________________________________                                    

    __________________________________________________________________________    PPU Signal Pin Descriptions                                                                 BUFFER                                                          PIN       I/O TYPE                                                            NAME   NO.                                                                              TYPE                                                                              mA   FUNCTION                                                   __________________________________________________________________________    Miscellaneous/Test/FPU/Timers                                                 FDC.sub.-- D7                                                                        97 O   TTL, Floppy disk controller bit 7. This out-                                  +2 mA                                                                              put contains information about bit 7 of                                       the digital input register of the flop-                                       py disk controller.                                        A20M   72 O   TTL, A20 mask output.                                                         +2 mA                                                           RSTCPU 73 O   TTL, Reset CPU signal.                                                        +2 mA                                                           OSCOUT 77 O   TTL, 14.31818-MHz crystal oscillator output                                   +2 mA                                                                              to VGA device.                                             14MHZXIN                                                                             75 I   Osc. 14.31818-MHz crystal oscillator input.                     14MHZXO                                                                              76 O   Osc. 14.31818-MHz crystal oscillator output.                    48MHZXIN                                                                             94 I   Osc. 48-MHz-crystal oscillator input.                           48MHZXO                                                                              93 O   Osc. 48-MHz-crystal oscillator output.                          AUDDRQ1                                                                              133                                                                              I   TTL, Audio DMA reouest. These inputs are                        AUDDRQ0                                                                              131                                                                              I   hys  used by audio chip to request a DMA                                      TTL, cycle.                                                                   hys                                                             AUDDACK1                                                                             134                                                                              O   TTL, Audio DMA acknowledge. These outputs                       AUDDACK0                                                                             132                                                                              O   +2 mA                                                                              are used to indicate to an audio chip                                         that a DMA request has been acknowl-                                          edged.                                                     TEST   98 I        Test mode. When asserted, this causes                                         the PPU to enter the test mode.                            KBDCLK 130                                                                              O   TTL, Keyboard clock. Clock output signal to                                   +2 mA                                                                              drive the keyboard controller. Program-                                       mable to operate at 16, 12, 8, or 4                                           MHz.                                                       SPKROUT                                                                              129                                                                              O   TTL, Speaker output. Connects to external                                     +2 mA                                                                              speaker drive circuitry.                                   32KHZOUT                                                                             87 C   TTL, Refresh output. 32-kHz output of the                                     +2 mA                                                                              timer/counter circuitry used to refresh                                       DRAM memory attached to the MPU.                           __________________________________________________________________________

    __________________________________________________________________________    PCI Arbitration Signals                                                       LOCK 46 I   TTL, PCI transaction lock. Indicates to the                                   FS   PPU PCI arbiter that an initiator re-                                         quires exclusive access to a PCI re-                                          source.                                                      REQ1 14 I   TTL, PCI master agent bus request. Indicates                      REQ0 16 I   FS   to the arbiter that this agent desires                                   TTL, use of the bus. This is a                                                FS   point-to-point signal.                                       HOLD/                                                                              9  O   +XX mA                                                                             CPU hold request or MPU grant. Request                       MPUGNT           to the CPU to relinquish control of the                                       PCI bus, or grant PCI bus to MPU.                            GNT1 13 O   +XX mA                                                                             PCI arbiter bus grants. Indicates to                         GNT0 15 O   +XX mA                                                                             the agent that access to the bus has                                          been granted. This is a point-to-point                                        signal.                                                      HLDA/                                                                              8  I   TTL, CPU hold acknowledge or MPU request.                         MPUREQ      FS   Acknowledgement from CPU that CPU no                                          longer controls the PCI bus or MPU re-                                        quests the PCI bus.                                          __________________________________________________________________________                BUFFER                                                            PIN     I/O TYPE                                                              NAME NO.                                                                              TYPE                                                                              mA   FUNCTION                                                     __________________________________________________________________________    PCI System Pins                                                               PCLK 11 I   TTL, PCI bus clock.                                                           FS                                                                PCI Address and Data Pins                                                     AD31-0      TTL, PCI bus multiplexed address and data.                        (pins       FS/                                                               18-21,      +XX mA                                                            23-26,                                                                        30-33,                                                                        35-38,                                                                        52-55,                                                                        57-60,                                                                        63-66,                                                                        68-71.                                                                        AD31 is                                                                       pin 18.                                                                       AD0 is                                                                        pin 71.                                                                       C/BE3                                                                              27 I/O TTL, PCI bus multiplexed command and byte                         C/BE2                                                                              39 I/O FS/  enables.                                                     C/BE1                                                                              51 I/O +XX mA                                                            C/BE0                                                                              62 I/O                                                                   PAR  49 I/O TTL, PCI bus parity. PAR reflects the even                                    FS/  parity computed across the AD31-AD0 and                                  +XX mA                                                                             C/BE3-C/BE0 buses on the previous cycle.                     PCI Error Reporting Signal                                                    PERR 47 I/O TTL, Data parity error indication. Driven by                                  FS   the PPU when it identifies a data parity                                      error when acting as the target of a PCI                                      operation or when acting as the initia-                                       tor of a PCI operation.                                      SERR 48 I   TTL, System error indication. Monitored by                                    FS   the PPU when it acts as the initiator of                                      a PCI bus operation.                                         __________________________________________________________________________

    __________________________________________________________________________                BUFFER                                                            PIN     I/O TYPE                                                              NAME NO.                                                                              TYPE                                                                              mA   FUNCTION                                                     __________________________________________________________________________    PCI Interface Control Pins                                                    FRAME                                                                              41 I/O TTL, PCI bus cycle frame. Driven by the                                       FS/  current master to indicate the begin-                                    +XX mA                                                                             ning and duration of an access. FRAME                                         is asserted to indicate that a bus                                            transaction is beginning. While FRAME                                         is asserted data transfers continue.                                          When FRAME is deasserted the transac-                                         tion is in the final data phase.                             TRDY 43 I/O TTL, PCI bus target ready. Indicates the                                      FS/  target agent's (selected device) abil-                                   +XX mA                                                                             ity to complete the current data phase                                        of the transaction. TRDY is used in                                           conjunction with IRDY. A data phase is                                        completed on any clock where both TRDY                                        and IRDY are sampled asserted. During                                         a read, TRDY indicates that valid data                                        is present on AD31-AD0. During a                                              write, it indicates that the target is                                        prepared to accept data. Wait cycles                                          are inserted until both IRDY and TRDY                                         are asserted together.                                       IRDY 42 I/O TTL, PCI bus initiator ready. Indicates the                                   FS/  initiating agent's (bus master) abili-                                   +XX mA                                                                             ty to complete the current data phase                                         of the transaction. IRDY is used in                                           conjunction with TRDY. A data phase is                                        completed on any clock where both IRDY                                        and TRDY are sampled asserted. During                                         a write, IRDY indicates that valid                                            data is present on AD31-AD0. During a                                         read, it indicates that the master is                                         prepared to accept data. Wait cycles                                          are inserted until both IRDY and TRDY                                         are asserted together.                                       STOP 45 I/O TTL, PCI bus transaction terminator from                                      FS/  target agent. Indicates that the cur-                                    +XX mA                                                                             rent target is requesting the master                                          to stop the current transaction.                             DEVSEL                                                                             44 I/O TTL, PCI bus device selected acknowledge.                                     FS/  When actively driven, DEVSEL indicates                                   +XX mA                                                                             the driving device has decoded its                                            address as the target of the current                                          access. As an input, it indicates                                             whether any device on the bus has been                                        selected.                                                    __________________________________________________________________________

    __________________________________________________________________________    IDSEL  28 I   TTL, PCI bus device configuration space                                       FS   selector. Each device selects its own                                         address for normal accesses. However,                                         accesses in the configuration address                                         space require device selection decod-                                         ing to be done externally and sig-                                            nalled to the PCI device via the IDSEL                                        pin that functions as a chip select.                                          This signal should be connected to one                                        of the upper 6 address lines                                                  (AD31-26) of the MPU.                                      RSTPCI 10 O   +XX mA                                                                             PCI bus reset.                                             INTA   6  I   TTL, PCI bus device interrupt A. Level sen-                                   FS   sitive interrupt input.                                    INTB   7  I   TTL, PCI bus device interrupt B. Level sen-                                   FS   sitive interrupt input.                                    Power Management Unit                                                         BATLOW 104                                                                              I   TTL, Battery low.                                                             hys,                                                                          FS                                                              SRBTN  105                                                                              I   TTL, Suspend/resume button. Input used to                                     hys  monitor the status of a switch that                                           can indicate to the system whether the                                        notebook PC's cover is closed or open.                                        This pin is falling edge sensitive.                                           SRBTN is internally connected to a                                            pullup resistor to prevent it from                                            floating active when left unconnected.                     SMI    83 I/O TTL, SMI This is a point-to-point signal                                      hys, between CPU and PPU used to request a                                    FS/TTL,                                                                            system management interrupt.                                             +2                                                                            mA                                                              PPU Signal Pin Descriptions                                                                 BUFFER                                                          PIN       I/O TYPE                                                            NAME   NO.                                                                              TYPE                                                                              mA   FUNCTION                                                   __________________________________________________________________________    FDDPWR 183                                                                              O   TTL, Floppy drive. power enable. When ac-                                     +2 mA                                                                              tive, this output can be used to en-                                          able the floppy disk drive power.                          HDDPWR 184                                                                              O   TTL, IDE drive power enable. When active,                                     +2 mA                                                                              this output can be used to enable the                                         hard disk drive power.                                     Reserved 96                                                                   PWRGOOD5                                                                             102                                                                              I   TTL, Power good. Master system reset for                                      hys  5-V logic.                                                 ONBTN  101                                                                              I   TTL, On button. This pin is falling edge                                      hys  sensitive.                                                                    ONBTN is internally connected to a                                            pullup resistor to prevent it from                                            floating active when left unconnect-                                          ed.                                                        MASKCLK                                                                              84 O   TTL, CPU clock control gate. This output                                      +2 mA                                                                              is used to stop the core CPU clock                                            input when it is active.                                   SUSPEND                                                                              85 O   TTL, Suspend status. This output indicates                                    +2 mA                                                                              that the chipset is in suspend mode.                       GPSMI  115                                                                              I   TTL, Subsystem power management interrupt                                     hys  request. This is a general purpose                                            SMI input.                                                 CRDSMI 86 I   TTL, PCMCIA system power management                                           hys  interrupt request.                                         PCSPWR 127                                                                              O   TTL, Programmable device power enable.                                        +2 mA                                                           SIUPWR 185                                                                              O   TTL, Serial port power enable. Turn off                                       +2 mA                                                                              RS232 driver when it is inactive.                          BLADJ  88 O   TTL, LCD backlight intensity adjustment                                       +2 mA                                                                              PWM output.                                                VCCON  103                                                                              O   TTL, Turn on main power.                                                      +2 mA                                                           Real-time Clock interface                                                     RTCPWR 106                                                                              I        RTC power. This input is the battery                                          power source for the internal RTC.                         RTCXIN 107                                                                              I   Osc. RTC 32.768-kHz crystal oscillator                                             input. This input connects to one                                             side of the RTC crystal when the in-                                          ternal RTC is enabled.                                     RTCXO  108                                                                              O   Osc. RTC 32.768-kHz crystal oscillator                                             output. This input connects to one                                            side of the RTC crystal when the in-                                          ternal RTC is enabled.                                     RTCRCLR                                                                              110                                                                              I   TTL, RTC CMOS SRAM clear. This signal is                                      hys  used to reset the RTC when battery is                                         removed.                                                   RTCGND 109                                                                              I        32.768-kHz crystal oscillator ground                                          return. Internal ground used to con-                                          nect one side of shunt filter capaci-                                         tor.                                                       Serial Interface 1 (SIF)                                                      CTS    191                                                                              I   TTL,                                                                              Clear to send. The logical state of                                       hys the CTS pin is reflected in the CTS                                           bit of the mode status register (MSR)                                         of the ACE. A change of state in ei-                                          ther CTS pin since the previous read-                                         ing of the associated MSR causes the                                          setting of DCTS MSR0 of each modem                                            status register.                                            DCD    186                                                                              I   TTL,                                                                              Data carrier detect. DCD is a modem                                       hys input whose condition can be tested by                                        the CPU by reading MSR7 (DCD) of the                                          modem status registers. MSR3 (DDCD) of                                        the modem status registers indicates                                          whether the DCD input has changed                                             since the previcus reading of the MSR.                                        DCD has no effect on the receiver.                          DSR    187                                                                              I   TTL,                                                                              Data set ready inputs. The logical                                        hys state of the DSR pin is reflected in                                          MSR5 of its associated modem status                                           register. DDSR MSR1 indicates whether                                         the associated DSR pin has changed                                            state since the previous reading of                                           the MSR.                                                    DTR    192                                                                              O   TLL,                                                                              Data terminal ready. The DTR pin can                                      +2 mA                                                                             be set (low) by writing a logical 1 to                                        MCR0, modem control register bit 0 of                                         its associated ACE. This signal is                                            cleared (high) by writing a logical 0                                         to the DTR bit MCR0 or whenever a re-                                         set occurs. When active (low), the DTR                                        pin indicates that its ACE is ready to                                        receive data.                                               RI     193                                                                              I   TTL,                                                                              Ring indicator. The RI signal is a                                        hys modem control input whose condition is                                        tested by reading MSR6 (RI) of each                                           SIF. The modem status register output                                         TERI MSR2 indicates whether the RI                                            input has changed from high to low                                            since the previous reading of the MSR.                      RTS    189                                                                              O   TTL,                                                                              Request to send. An RTS pin is set low                                    +2 mA                                                                             by writing a logical 1 to MCR1. Both                                          RTS pins are reset high by PWRGOOD. A                                         low on the RTS pin indicates that its                                         ACE has data ready to transmit. In                                            half-duplex operations, RTS is used to                                        control the direction of the line.                          SIN    188                                                                              I   TTL,                                                                              Serial data input. The serial data                                        hys input moves information from the com-                                         munication line or modem to the SIF                                           receiver circuits. A mark (1) is high,                                        and a space (0) is low. Data on serial                                        data inputs is disabled when operating                                        in the loop mode.                                           SOUT   190                                                                              O   TTL,                                                                              Serial data output. This line is a                                        +2 mA                                                                             serial data output from the SIF trans-                                        mit circuit. A mark is a logical 1                                            (high) and a space is a 0 (low). Each                                         SOUT is held in the mark condition                                            when the transmitter is disabled,                                             PWRGOOD is true (high), the transmit-                                         ter register is empty, or when in the                                         loop mode.                                                  Power Supply Pins                                                             VCC3   Note        3.3-V power supply pins.                                          1                                                                      GND    Note        Device ground pins.                                               2                                                                      RTCPWR 106         RTC power pin. This input is the bat-                                         tery power source for the internal                                            RTC.                                                       VCCXD  135         XD bus power supply pin. This pin can                                         be tied to 3.3 V or 5 V.                                   VCCDK  Note        Disk power supply pins. These pins can                            3           be tied to 3.3 V or 5 V.                                   VCC5   Note        5-V power supply pins.                                            4                                                                      __________________________________________________________________________     Notes:                                                                        1) Pins 17, 29, 40, 56, 67, 95, 123, 157, and 176 for nine pins total.        2) Pins 12, 22, 34, 50, 61, 74, 100, 140, 152, 181, and 201 for eleven        pins total.                                                                   3) Pins 147 and 171 for two pins total.                                       4) Pins 194 and 206 for two pins total.                                  

    __________________________________________________________________________    PPU Signal Pin Descriptions                                                               BUFFER                                                            PIN     I/O TYPE                                                              NAME NO.                                                                              TYPE                                                                              mA   FUNCTION                                                     __________________________________________________________________________    XD Bus Control Interface signals                                              XD7  136                                                                              I/O TTL, I/O X-bus data.                                              XD6  137                                                                              I/O hys/TTL,                                                          XD5  138                                                                              I/O +4                                                                XD4  139                                                                              I/O mA                                                                XD3  141                                                                              I/O                                                                   XD2  142                                                                              I/O                                                                   XD1  143                                                                              I/O                                                                   XD0  144                                                                              I/O                                                                   XA1  117                                                                              O   TTL, X-bus address bits 1 and 0. Two                              XA0  116                                                                              O   +4 mA                                                                              least-significant bits of the X bus.                                          For keyboard controller accesses, XA2                                         is internally multiplexed into XA1.                          EEACLK                                                                             118                                                                              O   TTL, Flash memory address clock. This sig-                                    +2 mA                                                                              nal is used to clock in XA(17:2) for                                          ROM address.                                                 ROMCS                                                                              119                                                                              O   TTL, ROM chip select. Chip select for BIOS                                    +2 mA                                                                              ROM.                                                         XDWR 120                                                                              O   TTL, XD write. This signal is used to write                                   +2 mA                                                                              to the XD bus. Equivalent to SMEMW for                                        ROM addresses and MEMW or IOW for I/O                                         addresses.                                                   XDRD 121                                                                              O   TTL, XD read. This signal is used to read                                     +2 mA                                                                              from the XD bus. Equivalent to SMEMR                                          for RCM addresses and MEMR or IOR for                                         I/O addresses.                                               VPPEN                                                                              122                                                                              O   TTL, Programming voltage. 12-V erase and                                      +2 mA                                                                              programming voltage for flash-memory                                          chips.                                                       KBDCS                                                                              124                                                                              O   TTL, Keyboard controller chip select. This                                    +2 mA                                                                              output goes low for accesses to the                                           I/O addresses 60, 62, 64, and 66h.                           PCS0 125                                                                              O   TTL, Programmable chip select 0. This out-                                    +2 mA                                                                              put provides a chip-select signal that                                        can be programmed to go active for                                            different I/O address ranges.                                PCS1 126                                                                              O   TTL, Programmable chip select 1. This out-                                    +2 mA                                                                              put provides a chip-select signal that                                        can be programmed to go active for                                            different I/O address ranges.                                RSTXD                                                                              128                                                                              O   TTL, Reset I/O devices. Used to reset I/O                                     +2 mA                                                                              devices on XD bus to a known state.                          Reserved Pins                                                                 NC   78          No connect.                                                  NC   79          No connect.                                                  NC   80          No connect.                                                  NC   81          No connect.                                                  NC   111         No connect.                                                  NC   112         No connect.                                                  NC   89          No connect.                                                  __________________________________________________________________________

The PCI bus interface 912 provides the interface between the PPU and thePCI bus. The integrated PPU subsystems are connected to the PCI busthrough a PCI bridge. The basic function of the PCI bridge is thetranslation of address and protocol between the PCI bus 104 and theinternal fast-AT bus 904.

FIG. 14 shows major functional blocks of the PCI Interface 902. PCImaster and slave accesses are handled by separate logic blocks 1202 and1204 respectively. The PCI slave block 1204 translates PCI cyclesinitiated by a PCI master targeted to the PPU subsystems or internalregisters. The PCI master block 1202 implements state machine logic thatis capable of executing PCI master cycles on the PCI bus 104 after ithas been granted ownership of the PCI bus by the PCI arbiter 906. In thecontext of the PPU, it requests the PCI bus as a master when a DMA cycleis requested by the DMA controller.

The fast-AT control block generates the necessary signals used tocommunicate on the internal fast-AT bus 904. Data transferred betweenthe PCI bus 104 and the fast-AT bus 904 is latched by the datarouter/buffer logic 1210. The fast-AT controller 1206, in conjunctionwith the Data Router/Buffer 1210, assembles or disassembles datatransferred between the PCI and fast-AT bus when required. For example,a double-word access originating on the PCI bus to a fast-AT subsystemmay be translated to four byte-wide accesses on the fast-AT bus.

The PPU implements a set of Configuration registers 1222 that are usedto configure the PPU. These registers can be accessed from the PCI busby a PCI master capable of generating PCI configuration cycles, such asthe MPU. Descriptions of the PCI Configuration registers and theirdefault bit values are provided later hereinbelow. Defualt values ofzero for all bits are assumed unless tabulated otherwise.

The PPU decodes PCI-bus accesses using subtractive decoding. This meansthat the PPU will respond to PCI transactions if no other agent in thesystem responds within a specified period of time. When a writetransaction occurs on the PCI bus, the PPU responds in one of four ways:

Write data from the PCI bus into an internal Configurationregister--(configuration cycle)

Forward the cycle to the internal fast-AT bus

Retry the transaction if the PPU is currently unable to respond

Ignore the cycle.

When a read transaction occurs on the PCI bus, the PPU responds in oneof three ways:

Place the data from an internal Configuration register onto the PCIBus.--(configuration cycle)

Forward the cycle to the internal fast-AT bus

Ignore the cycle.

The PPU implements a 256-byte configuration register 1222 space.

For PCI to main memory accesses, the PPU is a master on the PCI bus. Forhost to PCI accesses, the PPU is a target on the PCI bus. Configurationcycles initiated by the host to the PPU configuration address space areforwarded to the PCI bus and responded to by the PPU.

PCI Command Set

Bus commands indicate to the slave the type of transaction the master isrequesting. Bus commands are encoded on the C/BE3-0 lines during theaddress phase of a PCI cycle.

    ______________________________________                                        PCI Command Set Support                                                                                Supported Supported                                  C/BE3-0 Command Type     As Target as Master                                  ______________________________________                                        0000    Interrupt Acknowledge                                                                          Yes       No                                         0001    Special Cycle    Yes       No                                         0010    I/O Read         Yes       No                                         0011    I/O Write        Yes       No                                         0100    Reserved         N/A       N/A                                        0101    Reserved         N/A       N/A                                        0110    Memory Read      Yes       Yes                                        0111    Memory Write     Yes       Yes                                        1000    Reserved         N/A       N/A                                        1001    Reserved         N/A       N/A                                        1010    Configuration Read                                                                             Yes       No                                         1011    Configuration Write                                                                            Yes       No                                         1100    Memory Read Multiple                                                                           No        No                                         1101    Reserved         N/A       N/A                                        1110    Memory Read Line No        No                                         1111    Memory Write and Invali-                                                                       No        No                                                 date                                                                  ______________________________________                                          Treated as memory read.                                                       Treated as memory write                                                 

DEVSEL Generation

As a PCI slave, the PPU asserts the DEVSEL signal to indicate it is thetarget of a PCI transaction. DEVSEL is asserted by the PPU when itsubtractively decodes a PCI transaction.

The PPU samples DEVSEL as an input to determine if another PCI targethas claimed the current PCI transaction. If another PCI target has notasserted DEVSEL before the PPU reaches the subtractive decode point, thePPU may claim the cycle by asserting DEVSEL and forward the PCItransaction to the internal fast-AT bus.

In a system as here in which all other PCI target devices in the systemcan complete a decode and assert DEVSEL within 1 or 2 clocks after FRAMEis asserted, a configuration option is provided to move the DEVSELsample point forward. This allows fast access to slaves on the fast-ATbus.

The DEVSEL sampling point is changed by setting the SDSP bit (Bit 24) ina PCI Bus Control register (PCICTRL) located in the PCI ConfigurationRegisters 1222 of the PPU. When the SDSP bit is set to zero (default),the PPU samples DEVSEL oil the three consecutive PCI clocks followingthe address phase. If no PCI target device has asserted DEVSEL, the PPUasserts DEVSEL which can be sampled by the PCI master device on thefourth PCI clock. If the SDSP bit is setto one, the PPU samples DEVSELduring the two consecutive PCI clocks following the address phase. If noother PCI target device has asserted DEVSEL, the PPU asserts DEVSELwhich is sampled by the PCI master during the third PCI clock.

In addition to sampling DEVSEL inactive at the subtractive decodesampling point, the PPU responds by asserting DEVSEL when the PCItransaction is any of the following:

An I/O read or write to the 64K-byte address space 0000h-FFFFh. The IOSEbit (Bit XX) in the PCI Command register is set to one to enable the PPUto respond to PCI originated I/O cycles.

A memory read or write to an address in the lower 16M bytes of memory,000000h-FFFFFFh (memory-mapped device). The MSE bit (Bit XX) in the PCICommand register, if set to a one, enables the PPU to respond to PCIoriginated memory cycles.

A memory read or write to address FFFC0000h-FFFFFFFFh or000C0000h-000FFFFFh. The 4G byte bit (Bit XX) and the 1M byte bit (BitXX), if set to a one (default) in the ROM Chip Select register, enablesthe PPU to respond to these address ranges.

An interrupt acknowledge cycle. The INTACKEN bit (Bit 0) in the PCI BusControl register, if set to one, enables the PPU to respond to interruptacknowledge cycles.

A configuration read or write to the PPU Configuration registers.

Once the PPU has asserted DEVSEL in response to a PCI transaction, iteither completes or retries the cycle. The PPU retries the cycle if itis unable to perform the current PCI transaction. The PCI masterattempts the PCI transaction at some later time. This may occur if thePPU is in the middle of a DMA cycle and cannot service a currentrequest.

As a Master, the PPU waits for 5 PCI clocks after the assertion of FRAMEfor a slave to assert DEVSEL. If the PPU does not receive DEVSEL in thisperiod of time, it will master-abort the cycle.

A third type of master-initiated termination exists, but is notsupported by the PPU. This type is known as time-out termination.Time-out termination refers to a transaction that is terminated becausethe latency timer expired before the transaction was able to complete.The PPU can implement a latency timer, but this embodiment does notrequire it.

PPU as Master--Target-Initiated Terminations

Retry

Abort

Disconnect

PPU as Target--Target Initiated Terminations

As a target, the PPU supports the following forms of target-initiatedtermination:

Retry

Disconnect

Retry refers to termination by the PPU which informs the initiator thatit currently cannot respond to a transaction and that it should beretried at a later time. No data transfer takes place during thistransaction. If the PPU is currently servicing a DMA transfer, it may beunable to respond to another PCI transaction until the DMA is complete.In this case, the PPU will retry the PCI transaction.

Disconnect refers to termination requested because the target is unableto respond within a predetermined latency period. This type oftermination will occur after the first data phase is transferred. Thedifference between Retry and Disconnect is that no data transfers duringa Retry. Since the PPU will only transfer single data, a Disconnectresults in the same as a normal cycle completion except that STOP isasserted.

As a target, the PPU does not target-abort in this embodiment.

The PPU contains a PCI arbiter 906 that supports four PCI masters: thehost bridge (MPU) PPU, and two other PCI masters. The PPU's REQ/GNTlines are internal. The arbiter interfaces with the MPU via the HOLD andHLDA signals. The arbiter provides two additional pairs of REQ/GNTsignals which can be used to accept two external PCI masters. Uponreset, the PCI arbiter 906 is disabled and the MPU has default access tothe PCI bus because the HOLD signal is deasserted. This assures that theMPU can access the BIOS ROM which is under control of the PPU. The PCIarbiter is enabled by setting the ARBEN bit (BIT XX) in the PCI ArbiterControl register.

Arbitration Priority is described next. MPU access to the PCI bus iscontrolled by HOLD/HLDA signal protocol. HOLD is asserted to the MPUwhen another PCI master requests the PCI bus. Basically, this puts theMPU in a parked mode on the PCI bus. The term parked means that the MPUhas default access to the PCI bus when no other master is using orrequesting the bus. This reduces PCI latency of the MPU as it does nothave to request the PCI bus.

Abitration between the other three PCI masters (the PPU, and twoexternal devices) is based on a fair rotation scheme shown in FIG. 40.The arbiter treats all requests with equal priority and rotates throughactive PCI requests until they are all serviced. The table below showsevents or conditions that can alter the fair rotation sequence. Whenthere are no more PCI requests pending, the arbiter deasserts HOLD andthe MPU regains access to the PCI bus.

    ______________________________________                                        Priority                                                                             Condition/Event      Next Bus Master                                   ______________________________________                                        Highest                                                                              PPU is current master and maintains                                                                PPU                                                      request                                                                       LOCK is active       Current bus master                                       System management interrupt                                                                        MPU                                                      Super agent request  Super agent                                              Multiple requests    Fair rotation                                     Lowest No request           MPU                                               ______________________________________                                    

A PCI master may be designated as a super agent, for example, a PCIdevice that requires extremely low latency. One device in the system isassigned super agent status. Bits 7-5 of the PCI Arbiter Controlregister are used to select which if any device is a super agent. Whenthe arbiter detects a PCI bus request from a super agent, that devicewill be granted the PCI bus when the current master completes its accessand the bus becomes available. A super agent's request is serviced withhigher priority over other devices in the fair rotation scheme. FIG. 41shows an example of a super agent device assigned to REQ1/GNT1.

PCI Master Time-Out is now described. An external PCI master will beconsidered inoperable if the following conditions occur:

A PCI master has issued a request (REQx).

The PCI arbiter has issued a grant (GNTx) to the master.

The PCI bus remains idle (FRAME and IRDY deasserted) for 16 PCI clocks.

Once a PCI master is determined to be inoperable, its grant is removedand its request will be permanently masked by the arbiter. Thismechanism insures that the MPU is able to regain access to the PCI bus.PCI master time-out does not apply to the PPU as a master or the MPU.

The PPU's PCI/fast-AT block 902 generates the fast-AT bus clock, SYSCLK,using a dynamic SYSCLK mechanism which, among other things,advantageously provides better throughput for IDE drives. Accesses tothe IDE drive may operate at either a "fast" or a "slow" SYSCLK rate.Similarly, non-IDE accesses may be either fast or slow.

The PCI/fast-AT block 902 of FIGS. 11 and 14 generates SYSCLK as adivide of PCLK by a clock divider 1201. Depending on three register bitsin PPU PCI Configuration register 1222 space and the type of transactionon the fast-AT bus, SYSCLK is generated by frequency division as PCLK/2,PCLK/3 or PCLK/4. The fast-AT bus SYSCLK is considered to be either fastor slow. When SYSCLK is running fast, it is generated as PCLK/2. WhenSYSCLK is running slow, it is either PCLK/3 or PCLK/4, depending on thePCI bus PCLK speed.

The PPU's PCI Configuration Register Space register (PCICTRL providesthree bits to control dynamic SYSCLK generation. These bits, describedbelow, are functionally related as shown in the next table.

Bit PCLK33MHZ: Indicates whether or not PCLK is at 33 MHz. If this bitis active (a one), PCLK is considered 33 MHz. If this bit is inactive (azero), PCLK is considered 25 MHz. Note that this bit affects only howSYSCLK is generated from PCLK; it has no effect on PCLK itself.

Bit IDEfast: Indicates whether or not fast-AT bus accesses to the IDEdrive should operate at a fast SYSCLK rate. When set to one, SYSCLK runsat a fast rate for IDE accesses. When set to zero, SYSCLK runs at a slowSYSCLK rate for IDE accesses. IDE accesses are defined as accesses toI/O space address 1F0h to 1F7h and 3F6h to 3F7h.

Bit XDfast: Indicates whether or not fast-AT bus accesses, which are notto the IDE drive, should operate at a fast SYSCLK rate. When set to one,SYSCLK runs at a fast rate for non-IDE accesses. When set to zero,SYSCLK runs at a slow SYSCLK rate for non-IDE accesses.

Dynamic SYSCLK Truth Table

    ______________________________________                                                           Divider                                                                                 For IDE                                                                              for Non-IDE                               PCLK33MHZ IDEFAST  XDFAST    Accesses                                                                             Accesses                                  ______________________________________                                        1         1        1         2      2                                         1         1        0         2      4                                         1         0        1         4      2                                         1         0        0         4      4                                         0         1        1         2      2                                         0         1        0         2      3                                         0         0        1         3      2                                         0         0        0         3      3                                         ______________________________________                                    

The Peripheral Controller module 912 is an implementation of someperipherals which would otherwise require implementation on a systemboard. A peripheral layer therein consists of peripheral blocks thatprovide PC-AT-compatible functions. A control layer therein consists oftwo subsystems, a decode subsystem and a clock and wait state controlsubsystem. The decode subsystem enables the peripheral subsystems andcontrols the data bus buffers. The clock and wait state controlsubsystem handles DMA wait state generation and the I/O channel ready(IOCHRDY) line.

The peripheral layer consists of the DMA function, memory mapper,interrupt controller, counter/timer, and RTC. The two 8237-compatibleDMA controllers 910 have four channels each, allowing a total of sevenDMA channels: four 8-bit channels and three 16-bit channels. An eighthchannel, which is the first 16-bit channel, is used for cascading asshown in FIG. 15. The controllers 1310 and 1312 are named DMA1 and DMA2,respectively. A '74LS612 page register (DMA-PAGE) is part of the DMAsubsystem which supplements the DMA and, when required, drives the upperaddress lines.

The 8259A-compatible interrupt controllers 914 provide 16 channels ofinterrupts, which are divided into two cascaded controllers, INTC1 andINTC2 of FIG. 43, each with eight inputs. See FIGS. 11, 38, 43 and 44.Of these channels, 13 can be defined by the user for specific systemfunctions while the other three are internally connected to otherdevices.

The 8254-compatible counter/timer (CTC) block 916 has three independentcounters. An independent clock drives these counters. Counter 0 may beused as a system multi-level interrupt for timekeeping and taskswitching. Its output is connected to interrupt 0 of INTC1. Square waveor pulse generation can be programmed at counter 1. Counter 2 has a gateinput for controlling thereof, and can function as an internal counter,a timer, or a gated rate/pulse generator.

The MC146818-compatible RTC block 918 maintains the time and date andhas 114 bytes of user-accessible RAM. When the system power is off, anexternal battery may be used to keep the clock/calendar information andRAM active.

Turning to the control layer, the decode, the clock, and wait statecontrol blocks are described next.

The decode subsystem deals with all the registers on board the 82206compatible portion, and the maintenance of I/O decode compatibility withthe PC-AT. This task is advantageously performed by multiple levels ofdecoding. The decode truth table is shown below.

All clock and wait state control is accomplished through theconfiguration register. Writing to the configuration register, atlocation 023h, allows the user to control the following functions: DMAcommand width, CPU read and write cycle lengths, and the DMA clock rate.To write to or read from the configuration register, the user writes a01h to location 022h and then writes to or reads location 023h.

    ______________________________________                                        Decode Truth Table                                                            Address Range (hex)                                                                           Device Selected                                               ______________________________________                                        000-09F         DMA1                                                          020-021         INTC1                                                         022-023         CONFIG                                                        040-043         CTC                                                           070-071         RTC                                                           080-08F         DMA PAGE                                                      0A0-0A1         INTC2                                                         0C0-0DF         DMA2                                                          480-48F         DMA HIGH PAGE                                                 4D0-4D1         IRQ Edge/Level Control Register                               ______________________________________                                    

In FIG. 15, the DMA subsystem consists of two 8237-compatiblecontrollers, DMA1 1310 and DMA2 1312, cascaded together via channel 0 onDMA2. DMA1 channels 0 and 1 are dedicated to external 8-bit audiodevices via request pins AUDDRQ0 and AUDDRQ1, and acknowledge pinsAUDDACK0 and AUDDACK1. DMA1 channel 2 and channel 3 are dedicated to thePPU floppy disk controller and the PPU ECP parallel port, respectively.DMA2 channels 1, 2, and 3 are available for other peripherals. The DMAchannel allocation is shown in the folllowing table:

    ______________________________________                                        Controller                                                                            Data Width                                                                              Channel  PC-AT Channel                                                                           Peripheral                               ______________________________________                                        DMA1    8 Bit     0        0         Audio 0                                  DMA1    8 Bit     1        1         Audio 1                                  DMA1    8 Bit     2        2         Floppy                                   DMA1    8 Bit     3        3         ECP                                      DMA2    16 Bit    1        4         Unused                                   DMA2    16 Bit    2        5         Unused                                   DMA2    16 Bit    3        6         Unused                                   ______________________________________                                    

During a DMA cycle, the PPU becomes the PCI bus master and transfersdata to and from system memory by performing PCI memory read and writecycles. The PPU does not perform DMA data transfers between otherPCI-connected I/O devices and system memory in this system embodiment.

Initially, DMA operations and control begins with the basicarchitecture. Unless otherwise noted, the functionality described hereapplies to both DMA1 and DMA2. The following paragraphs list severaloperating conditions and transfer modes to address areas:

Three Operating Conditions

Idle

Program

Active

Three Transfer Modes

Single transfer mode

Block transfer mode

Demand transfer mode

Three Transfer Types

Read transfer (memory to I/O)

Write transfer (I/O to memory)

Verify transfer

The following features are important to DMA operating conditions:

Autoinitialization eliminates the need for reprogramming the operatingparameters.

Priority determines the servicing of DMA requests.

Address generation determines how DMA addresses are generated.

Compressed timing provides a way to operate with the fewest number ofDMA clock cycles.

These conditions (transfer modes, transfer types, and features) aremanaged under the control and use of ten register types and five specialdevice commands. Some of the registers are available for each channel,while others are more global to the whole DMA subsystem. These registersare described in tables later hereinbelow, and they are:

Current address register

Current word count register

Base address register

Base word count register

Command register

Mode register

Request register

Request mask register

Status register

Temporary register

The special device commands generally affect the contents of one or moreof these registers or the subsystem status. These five commands are:

Clear byte pointer flip-flop

Set byte pointer flip-flop

Master clear

Clear request mask register

Clear mode register counter

These commands appear in the discussions on the various operating modesand conditions. Their specific bit assignments, where applicable, arediscussed later herein. Any special commands are described as part ofthe program condition.

Under normal operation, the DMA controller 910 operates in one of threeconditions: idle, program, or active. During idle, the DMA controllerexecutes a single, one-state cycle. The controller remains idle bydefault until the device is initialized, and either the CPU (e.g. MPU102) attempts access to one of the ten internal registers or a DMArequest is active.

When the DMA subsystem receives a DMA request, it becomes active andissues a bus request to the arbiter 906 block. The arbiter then assertsHOLD to the CPU, which responds by completing the current cycle andasserting HLDA. This allows the arbiter 906 to return bus grant to theDMA subsystem and the PPU becomes the new bus master. The DMA controllergenerates memory addresses and control signals that are converted by thePCI to Fast-AT bridge 902 into PCI memory accesses. The controller canperform DMA to the FDC, the ECP parallel port, or to audio devices 1 or2. Transfers involving these I/O devices are completed in a single PCIcycle.

During Idle, an on-chip state machine in DMA control 910 samples DMADREQ Request 1 and 2 inputs subsystem a cycle. The DMA subsystem alsomonitors HLDA and PCI cycle addresses to determine if the CPU is tryingto access an internal register, which would cause entry into the programcondition.

As to the Program Condition, when the CPU is attempting to access theon-chip registers, the program condition is entered and lasts until theCPU has completed any programming changes. The device operatingparameters may be altered during the program condition.

The CPU can access the internal registers of DMA1 and DMA2 by readingand writing I/O addresses 000h to 00Fh and 0C0h to 0DEh. The addressassignments are tabulated next.

    __________________________________________________________________________    DMA Controller Address Assignnents                                                          Byte                                                            Address (hex) Pointer                                                                            Register Function                                          DMA1                                                                              DMA2                                                                              Read                                                                             Write                                                                            Flip-Flop                                                                          Operation                                                                           Channel                                                                           Object      Byte                                 __________________________________________________________________________    000 0C0 0  1  0    Read  0   Current address                                                                           Low                                          0  1  1    Read  0   Current address                                                                           High                                         1  0  0    Write 0   Base and current address                                                                  Low                                          1  0  1    Write 0   Base and current address                                                                  High                                 001 0C2 0  1  0    Read  0   Current word count                                                                        Low                                          0  1  1    Read  0   Current word count                                                                        High                                         1  0  0    Write 0   Base and current word                                                                     Low                                                               count                                                    1  0  1    Write 0   Base and current word                                                                     High                                                              count                                            002 0C4 0  1  0    Read  1   Current address                                                                           Low                                          0  1  1    Read  1   Current address                                                                           High                                         1  0  0    Write 1   Base and current address                                                                  Low                                          1  0  1    Write 1   Base and current address                                                                  High                                 003 0C6 0  1  0    Read  1   Current word count                                                                        Low                                          0  1  1    Read  1   Current word count                                                                        High                                         1  0  0    Write 1   Base and current word                                                                     Low                                                               count                                                    1  0  1    Write 1   Base and current word                                                                     High                                                              count                                            004 0C8 0  1  0    Read  2   Current address                                                                           Low                                          0  1  1    Read  2   Current address                                                                           High                                         1  0  0    Write 2   Base and current address                                                                  Low                                          1  0  1    Write 2   Base and current address                                                                  High                                 005 0CA 0  1  0    Read  2   Current word count                                                                        Low                                          0  1  1    Read  2   Current word count                                                                        High                                         1  0  0    Write 2   Base and current word                                                                     Low                                                               count                                                    1  0  1    Write 2   Base and current word                                                                     High                                                              count                                            006 0CC 0  1  0    Read  3   Current address                                                                           Low                                          0  1  1    Read  3   Current address                                                                           High                                         1  0  0    Write 3   Base and current address                                                                  Low                                          1  0  1    Write 3   Base and current address                                                                  High                                 007 0CE 0  1  0    Read  3   Current word count                                                                        Low                                          0  1  1    Read  3   Current word count                                                                        High                                         1  0  0    Write 3   Base and current word                                                                     Low                                                               count                                                    1  0  1    Write 3   Base and current word                                                                     High                                                              count                                            008 0D0 0  1  X    Read  --  Status register                                                                           --                                           1  0  X    Write --  Command register                                                                          --                                   009 0D2 0  1  X    Read  --  DMA request register                                                                      --                                           1  0  X    Write --  DMA request register                                                                      --                                   00A 0D4 0  1  X    Read  --  Command regieter                                                                          --                                           1  0  X    Write --  Single DMA request mask                                                                   --                                                                register bit                                     00B 0D6 0  1  X    Read  --  Mode register                                                                             --                                           1  0  X    Write --  Mode register                                                                             --                                   00C 0D8 0  1  X    Set   --  Byte pointer flip-flop                                                                    --                                           1  0  X    Clear --  Byte pointer flip-flop                                                                    --                                   00D 0DA 0  1  X    Read  --  Temporary register                                                                        --                                           1  0  X    Master clear                                               00E 0DC 0  1  X    Clear --  Mode register counter                                                                     --                                           1  0  X    Clear --  All DMA request mask                                                                      --                                                                register bits                                    00F 0DE 0  1  X    Read  --  All DMA request mask                                                                      --                                                                register bits                                            1  0  X    Write --  All DMA request mask                                                                      --                                                                register bits                                    __________________________________________________________________________

Addressing the count or address registers is augmented by the bytepointer flip-flop, due to the large number of internal registers in theDMA subsystem. This bit toggles each time a read or write is made to onof those registers, thereby selecting between the high or low byte. Theflip-flop is cleared by a hardware RESET or the master clear command andmay be cleared or set by the CPU issuing the proper command.

The following chart describes the special device commands supported bylogic circuitry responsive thereto in DMA control 910 of FIG. 15.

    ______________________________________                                        Command    Description                                                        ______________________________________                                        Clear byte pointer                                                                       Normally used prior to a read or write. Sets                       flip-flop  the byte pointer flip-flop to point to the low                                byte of the address or word count register and                                ensures that the bytes will be read in the                                    proper sequence.                                                   Set byte pointer                                                                         Adjusts the byte pointer flip-flop to point at                     flip-flop  the high byte of an address or word count                                     register.                                                          Master clear                                                                             Has the same effect as a hardware RESET. The                                  DMA controller is put the idle condition by                                   this command. The command register, mode                                      register counter, request register, status                                    register, temporary register, and the byte                                    pointer flip-flop are all cleared, while the                                  request mask register is set.                                      Clear request mask                                                                       Clears the mask bits in the register, enabling                     register   the four DMA channels on a controller to                                      accept requests.                                                   Clear mode register                                                                      Clears an additional counter that is used to                       counter    allow access to the four mode registers while                                 using only one address. After clearing the                                    counter, all four mode registers can be read                                  with successive reads to the read mode                                        register address. Channel 0 is read prior to                                  proceeding to channel 3.                                           ______________________________________                                    

These five commands simplify the programming task on the device. Thecommands are executed as a result of asserting the specified address andeither IORD or IOWR. The data lines are advantageously ignored by block912 whenever an IOWR-activated command is issued: therefore, any datareturned on an IORD-activated command will be invalid. The next sectiondetails address and signal conditions to which the DMA circuitry isresponsive to perform an internal register function or issue a specialcommand. Registers that are available for each channel and those thatare controller-specific are also indicated.

Turning to the Active Condition, the DMA subsystem enters activecondition and begins a DMA transfer cycle when either: a DMA requestoccurs on an unmasked channel when the device is not in programcondition, or a software request occurs.

An example of a preferred process or method of operation during theactive condition for a read transfer cycle is shown below:

1) DMA control block 910 receives DMA request DREQ1 or 2 from aperipheral 1310 or 1312.

2) DMA control block 910 issues a bus request HREQ, REQ2# to arbiter906.

3) PCI arbiter 906 asserts hold request, HOLD, to the CPU>

4) CPU responds with hold acknowledge, HLDA.

5) Arbiter 906 returns bus grant GNT2# to the DMA control 910.

6) DMA subsystem returns DMA acknowledge DACK1 or 2 to the peripheral1310 or 1312.

7) DMA subsystem executes single or multiple DMA transfers to or frommemory 106 via PCI bus 104.

8) DMA subsystem completes transfer and deasserts hold request HREQ.

9) Arbiter 906 releases hold request HOLD to CPU.

10) CPU deasserts hold acknowledge, HLDA.

11) DMA subsystem deasserts DMA acknowledge DACK1 or 2 to the peripheral1310 or 1312.

In the DMA Transfer Modes, each DMA channel can be configured to operatein single, block, or demand transfer mode.

In the Single-transfer mode, the DMA controller 910 performs only asingle transfer before deactivating its bus request to the PPU Arbiter906. Some time later, the arbiter responds by deactivating bus grantGNT2 to the DMA controller. At this point, if the peripheral is stillasserting DMA request, the DMA controller 910 will once again requestcontrol of the PCI bus from the arbiter 906.

In block-transfer mode, the DMA controller 910 performs a sequence ofDMA cycles until the word count reaches FFFFh. When this occurs, the DMAcontroller 910 provides terminal count indication to the DMA peripheral.The DMA request can be deasserted as soon as the first cycle has beencompleted. In this mode, the arbiter grants control of the PCI bus tothe DMA subsystem at the start of the transfer and only hands controlback to the host when the sequence is completed.

In demand-transfer mode, the DMA controller 910 performs a sequence ofDMA cycles until either the word count reaches FFFFh or DMA request isdeasserted. If the word count expires first, the controller providesterminal count indication to the DMA peripheral. In this mode, thearbiter grants control of the PCI bus to the DMA subsystem at the startof the transfer and only hands control back to the host when thesequence is completed.

Turning to DMA transfer types, the three types of transfer provided bythe DMA subsystem are read, write, and verify. Read transfer reads datafrom system memory and writes it to an I/O device either inside the PPUor connected to it. Write transfer performs the reverse operation,reading from the I/O device and writing to system memory. Verifytransfers supply DMA acknowledge to the requesting I/O device, but nodata transfers occur. The PPU takes control of the PCI bus by assertingHOLD, but does not generate any PCI memory cycles.

During auto initialization, each of the four DMA channels reinitializeswhen the terminal count on a given channel has been reached.Autoinitialization is enabled by a bit in the Mode Register. Originallywritten by the CPU, the base address and word count registers arereloaded into the current address and word count registers. The baseregisters can only be changed by the CPU and remain unchanged during DMAactive cycles. When the request mask bit reaches terminal count, it willnot be set if the channel has been programmed for auto initialization.DMA can operate without CPU intervention.

DMA Request DREQ Priority is determined in one of two ways. The firstmethod is fixed priority, where channel 0 is the highest priority, andthe remaining channels decrease in order down to channel 3, the lowestpriority. The second method is rotating priority, where the channelsmaintain the 0 through 3 order used in fixed priority, but the actualassignment of priority changes. On the next arbitration, the lowestpriority goes to the most recently serviced channel. An example of thismethod is shown below.

Rotating Priority

    ______________________________________                                                  First      Second      Third                                        Priority  Arbitration                                                                              Arbitration Arbitration                                  ______________________________________                                        Highest   Channel 0  Channel 3   Channel 1*                                                                    grant                                                  Channel 1  Channel 0*  Channel 2                                                         grant*                                                             Channel 2* Channel 1   Channel 3                                              grant*                                                              Lowest    Channel 3  Channel 2   Channel 0                                    ______________________________________                                         *Indicates requested channels                                            

The DMA subsystem issues a bus request to the arbiter in cases wheremultiple requests occur simultaneously although priority arbitrationremains unresolved until hold acknowledge, HOLDA, is received from theCPU.

In Address Generation, The DMA subsystem generates 32-bit memoryaddresses for the PCI memory cycle generated by the PPU during DMA. For8-bit DMA cycles, DMA1 generates A15-0 directly; for 16-bit DMA cycles,DMA2 generates A16-1 with A0 equal to zero (aligned addressing). Thehigher order address bits come from the low page and high page registersthat are associated with each DMA channel: For 8-bit DMA cycles, A23-16come from the low page register and A31-24 come from the high pageregister. For 16-bit DMA cycles, A23-17 come from the low page registerand A31-24 come from the high page register. The low and high pageregisters for each channel are accessed by the host at the I/O locationsshown as DMA Page Register Locations:

    ______________________________________                                        DMA Channel      Low Page Register                                                                          High Page Register                              ______________________________________                                        0   DMA1 channel 0087         0487                                            1   DMA1 channel 0083         0483                                            2   DMA1 channel 0081         0481                                            2                                                                             3   DMA1 channel 0082         0482                                            3                                                                             5   DMA2 channel 008B         048B                                            1                                                                             6   DMA2 channel 0089         0489                                            2                                                                             7   DMA2 channel 008A         048A                                            3                                                                             ______________________________________                                    

All page registers can be written to and read by the CPU and are clearedby device reset.

This Register Descriptions section details the register types used bythe DMA subsystem:

Current Address Register (CAR)

The address used by each channel during transfer is stored in this16-bit current address register. The channels can be programmed so thatthis register automatically increments or decrements after eachtransfer. Also, channel 0 may be set up so that the CAR registercontents are fixed with the address hold bit in the command register.Read or write access of this register is available to the CPU and isaccomplished through consecutive byte accesses. If autoinitialization isenabled, the register is reloaded when the current word count registerreaches terminal count.

Current Word Count Register

This register contains the word count to be transferred, that is, thenumber of transfers to perform. One additional transfer is performed,which decrements this register from 0 to the terminal count of FFFFh.When this occurs, a transfer count will be generated, and the DMAoperation on that channel is suspended and further requests are maskedunless auto initialization is enabled.

Base Address and Base Word Count Registers

These two write-only registers preserve initial values of the currentaddress and current word count registers, respectively. They providereload data when auto initialization is enabled on a channel.

Command Register

The overall operation of the DMA subsystem is controlled by thisregister pair for units DMA1 and 2. It is cleared by a RESET or masterclear command, and may be read or written by the CPU.

Base Address (hex): DMA1=008, DMA2=0D0

    ______________________________________                                        Bit  Name    Access  Description                                              ______________________________________                                        7    DAK     R/W     Sets the active level of the DACK sig-                                        nal. When this bit is a 1, DACK is ac-                                        tive high.                                               6    DREQ    R/W     Sets the active level of the DREQ sig-                                        nal. When this bit is a 1, DREQ is ac-                                        tive low.                                                5    EW      R/W     Controls exterior write. When this bit                                        is a 1, write commands are asserted one                                       DMA cycle earlier. When EW is enabled,                                        read and write start in state S2.                        4    RP      R/W     Rotating priority is enabled when this                                        bit is 1. Fixed priority is the de-                                           fault.                                                   3    CT      R/W     Compressed timing is enabled when this                                        bit is 1. Normal timing is the default.                  2    CD      R/W     Controller disable. When set, this bit                                        prevents DMA cycles from occurring when                                       the CPU needs to reprogram.                              1    AH      R/W     When this bit is a 1, address hold on                                         channel 0 is enabled when performing                                          memory-to-memory transfers.                              0    M-M     R/W     When this bit is a 1, memory-to-memory                                        transfers are enabled on channel 0 and                                        1.                                                       ______________________________________                                    

Channel Select Bits

In several of the remaining registers, bits 1 and 0 determine channelselect. The conventions shown next are used in naming those bits andtheir values to choose a specific channel.

    ______________________________________                                        Channel Select Bits                                                                                    Channel Select Bits                                  CS1 (Bit 1)                                                                             CS2 (Bit 0)    for A Given Register                                 ______________________________________                                        0         0              Channel 0                                            0         1              Channel 1                                            1         0              Channel 2                                            1         1              Channel 3                                            ______________________________________                                    

Mode Register

Each channel has its own mode register to select the operator modes,transfer types, etc., as described below. All four mode registers resideat the same I/O address, and bits 0 and 1 determine which channel'sregister is to be written. Consecutive reads to the I/O location willread each of the registers. Since bits 0 and 1 will be 1 during thesereads, the clear mode register counter command allows the CPU to restartthe reads at the first channel's register.

    ______________________________________                                        Base Address (hex): DMA1 = 00B, DMA2 = 0D6                                    Bit  Name    Access  Description                                              ______________________________________                                        7:6  M1-0    R/W     Set the transfer mode for each channel as                                     shown:                                                              M1   M0     Mode                                                   ______________________________________                                                   0    0      Demand transfer                                                   0    1      Single cycle transfer                                             1    0      Block transfer                                                    1    1      Cascade                                                5    DEC     R/W     A 1 here decrements the address after each                                    transfer. Determines the direction of the ad-                                 dress counter.                                           4    A1      R/W     A 1 here enables autoinitialization                      3-2  TT1-0   R/W     Control transfer type as shown:                                     TT1  TT0    Type                                                   ______________________________________                                                   0    0      Verify transfer                                                   0    1      Write transfer                                                    1    0      Read transfer                                                     1    1      Reserved                                               1-0  CS1-0   R/W     Channel select bits                                      ______________________________________                                    

Request Register

The request register is a 4-bit register that generates softwarerequests and can be independently set or reset by the CPU. DMA servicemay be requested externally or under software control. All four bits areread in one operation, appear in the lower four bits of the byte, andare cleared by RESET. Bits 4-7 are read as 1s. The request mask does notaffect software-generated requests.

    ______________________________________                                        Base Address (hex): DMA1 = 009, DMA2 = 0D2                                    Bit  Name    Access  Description                                              ______________________________________                                        7-3  --      R       Bits 7-4 read as 1.                                      2    RB      R/W     Request bit. Writing a 1 to this bit                                          indicates a request is required.                         1-0  CS1-0   R/W     Channel select bits.                                     ______________________________________                                        Base Address (hex): DMA1 = 009, DMA2 = 0D2                                    Bit  Name    Access  Description                                              ______________________________________                                        7-4  --      R       These bits read as 1.                                    3-0  RC3-0   R/W     Each bit corresponds to the channel                                           number, and the state of the request                                          bit for a channel is returned in the                                          appropriate bit of the request register                                       during a read.                                           ______________________________________                                    

Request Mask Register

The request mask register is a four-bit register that inhibits externalDMA requests from generating transfer cycles, and may be programmed intwo different ways. Each channel can be independently masked by writingto the write-single-mask bit address. The data format for this operationis shown below.

    ______________________________________                                        Base Address (hex): DMA1 = 00A, DMA2 = 0D4                                    Bit  Name    Access  Description                                              ______________________________________                                        7-3  --      R/W     Reserved                                                 2    MB      R/W     A 1 in this bit sets or resets the re-                                        quest mask bit for the channel speci-                                         fled in CS1-0 inhibiting external re-                                         quests.                                                  1-0  CS1-0   R/W     Channel select bits.                                     ______________________________________                                    

Using the other programming method, the four mask bits can be written inone operation by writing to the write-all-mask-bits address. The formatfor write all/read all is:

    ______________________________________                                        Base Address (hex): DMA1 = 00E/00F DMA2 = 0DC/0DE                             Bit  Name    Access  Description                                              ______________________________________                                        7-4  --      R/W     Reserved                                                 3-0  MB3-0   R/W     Mask bits for channel 3-0.                               ______________________________________                                    

RESET or master clear command will set all four mask bits. When terminalcount has been reached, if auto initialization is disabled, individualchannel mask bits will be set. If a clear mask register operation isperformed, the register is cleared and all four channels are enabled.

Status Register

The status register is read-only determining the status of all fourchannels including terminal count, and whether or not an externalservice request is pending. RESET, master, clear, or a status read willclear bits 0-3 of this register. RESET, Master Clear, or the pendingrequest being deasserted will clear bits 4-7, which are not affected bythe state of the mask register bits. The status register format is shownbelow. The channel number corresponds to the numbers in the bit name.

    ______________________________________                                        Base Address (hex): DMA1 = 008, DMA2 = 0D0                                    ______________________________________                                        Bit  7       6       5     4     3    2    1    0                             Name DREQ3   DREQ2   DREQ1 DREQ0 TC3  TC2  TC1  TC0                           ______________________________________                                    

The programmable interrupt controller 914 operates as an interruptmanager for the entire system 100. The controller 914 accepts request sfrom peripherals, issues inter rupt requests to the CPU, resolvesinterrupt priorities, and provides vectors for the CPU to determinewhich interrupt routines to execute. In addition, to restructure theinterrupt subsystem, priority assignment modes are available that can bereconfigured at any time during system operations. As FIG. 43 shows, theinterrupt controller has two blocks, INTC1 and INTC2, interconnected andprogrammed to run in cascade mode for 16 channels. INTC1 is configuredfor master operation in cascade mode and is located at I/O addresses020h-021h. INTC2 is a slave located at I/O addresses 0A0h-0A1h. TheINTC2 interrupt request output signal is internally connected to theINTC1 interrupt request input channel 2.

The interrupt controller supports 16 interrupt inputs, IRQ0 to IRQ15.Organization of the 16 interrupt channels are illustrated in FIG. 43.

Of the 16 interrupts, the following channels are preassigned:

IRQ0 is dedicated to the timer/counter.

IRQ1 is dedicated to the external keyboard controller.

IRQ2 is used to cascade INTC2 into INTC1.

IRQ6 is dedicated to the floppy disk controller.

IRQ8 is dedicated to the real time clock.

IRQ13 is used for FPU error on input FPUERR.

The remaining 10 channels can be program controlled to serve any ofseveral different interrupt sources:

Parallel port

Serial port

Mouse

Hard disk

PCMCIA controller 112

Three registers control interrupt routing:

PCI Interrupt Mapping Register

Interrupt Enable Register

PCU Interrupt Shadow Register

These registers are located in PCI configuration register 1222 space andcan be programmed to connect particular interrupt sources to specificinterrupt controller channels.

The PCI Interrupt Mapping Register controls how PCI interrupts from bus104 on PPU 110 pins INTA and INTB are routed to the internal interruptrequest lines (IRQs) of PPU 110.

    __________________________________________________________________________    Base Address (hex): 53                                                        Bit                                                                              Name Access                                                                            Description                                                       __________________________________________________________________________    7-4                                                                              PINT7-4                                                                            R/W Map INTB:                                                                     PINT7                                                                             PINT6                                                                             PINT5                                                                             PINT4                                                                             Connect INTB To:                                  __________________________________________________________________________                0   0   0   0   IRQ9                                                          0   0   0   1   IRQ10                                                         0   0   1   0   IRQ11                                                         0   0   1   1   IRQ15                                                         All other states: disconnect                                      3-0                                                                              PINT3-0                                                                            R/W Map INTA:                                                                     PINT3                                                                             PINT2                                                                             PINT1                                                                             PINT0                                                                             Connect INTA To:                                  __________________________________________________________________________                0   0   0   0   IRQ9                                                          0   0   0   1   IRQ10                                                         0   0   1   0   IRQ11                                                         0   0   1   1   IRQ15                                                         All other states: disconnect                                      __________________________________________________________________________

The Interrupt Enable Register controls how the internal lines for serialport interrupt SINT and, parallel port interrupt PINT and PPU pins formouse interrupt (MSIRQ or MSINT), and IDE interrupt (IDEIRQ or HDCINT)are routed to the internal IRQs of PPU 110.

    __________________________________________________________________________    Base Address (hex): 52                                                        Bit 7 6   5   4   3   2    1    0                                             Name                                                                              --                                                                              SINT04                                                                            SINT03                                                                            PINT07                                                                            PINT05                                                                            MSINT1                                                                             MSINT1                                                                             HDCINT1                                                             2    3    4                                             Default                                                                           0 1   0   1   0   1    0    1                                             __________________________________________________________________________    Bit   Name     Access Description                                             __________________________________________________________________________    7     --       R/W    Reserved                                                6     SINT04   R/W    SINT0 connect IRQ4                                                            0 = Disable                                                                   1 = Enable                                              5     SINT03   R/W    SINT0 connect to IRQ3                                                         0 = Disable                                                                   1 = Enable                                              4     PINT07   R/W    PINT0 connect to IRQ7                                                         0 = Disable                                                                   1 = Enable                                              3     PINT05   R/W    PINT0 connect to IRQ5                                                         0 = Disable                                                                   1 = Enable                                              2     MSINT12  R/W    MSINT connect to IRQ12                                                        0 = Disable                                                                   1 = Enable                                              1     MSINT13  R/W    MSINT connect to IRQ13                                                        0 = Disable                                                                   1 = Enable                                              0     HDCINT14 R/W    HDCINT connect to IRQ14                                                       0 = Disable                                                                   1 = Enable                                              __________________________________________________________________________

Note: The following assignments are not programmable INT0: Timer, INT1:KBD, INT2: Cascade, INT6: Floppy, INT8: RTC, INT13: FPU.

The PCU Interrupt Shadow Register controls how the PCMCIA interruptsCRDAIORQ, CRDBIORQ, and CRDSRVRQ are routed to the internal PC-AT IRQS.The register shadows other registers in the PCU PCMCIA controller. Whenthe CPU writes to those locations, the PPU interface 902 updates thecontents of this register.

    ______________________________________                                        Base Address (hex): 50-51                                                     Bit   Name      Access  Description                                           ______________________________________                                        15-12 CSINT3-0  R/W     Bit 7-4 of PCU register 45h or 05h                                            (ExCA offset)                                         11-8  --        R       Reserved                                              7-4   CBINT3-0  R/W     Bit 3-0 of PCU register 43h (ExCA                                             offset)                                               3-0   CAINT3-0  R/W     Bit 3-0 of PCU register 03h (ExCA                                             offset)                                               ______________________________________                                    

Edge/Level Interrupt Channel

The PPU implements EISA-compatible edge/level interrupt channel controlregisters at I/O addresses 4D0h and 4D1h. The registers provide one bitfor each IRQ to determine if the interrupt is edge sensitive or levelsensitive. Both registers are cleared by reset for defaultedge-sensitive operation. Setting any bit configures the associatedinterrupt as level sensitive. These controllers recognize active-lowlevels on these lines as interrupt requests. The low level must bemaintained until the PCI interrupt acknowledge cycle and must be negatedbefore the interrupt service routine issues the EOI command. IRQ0, IRQ1,IRQ2, IRQ8, and IRQ13 can be hardwired for edge-sensitive mode as in thepreferred embodiment and be unchangeable, or left reprogrammable.

The register bit for IRQ6 is not set by software because this channel isdedicated to the floppy disk controller, which outputs positive edgeinterrupts.

Edge/Level Register 1

    ______________________________________                                        Base Address (hex): 4D0                                                       Bit        Name      Access     Description                                   ______________________________________                                        7          EL7       R/W        IRQ7 type:                                                                    0 = Edge                                                                      1 = Level                                     6          --        R          Reserved                                      5          EL5       R/W        IRQ5 type:                                                                    0 = Edge                                                                      1 = Level                                     4          EL4       R/W        IRQ4 type:                                                                    0 = Edge                                                                      1 = Level                                     3          EL3       R/W        IRQ3 type:                                                                    0 = Edge                                                                      1 = Level                                     2-0        --        R          Reserved                                      ______________________________________                                    

    ______________________________________                                        Edge/Level Register 1                                                         Base Address (hex): 4D1                                                       Bit    7      6       5   4     3    2     1    0                             Name   EL15   EL14    --  EL12  EL11 EL10  EL9  --                            Default                                                                              1      1       1   1     1    1     1    1                             ______________________________________                                        Bit   Name    Access   Description                                            ______________________________________                                        7     EL15    R/W      IRQ15 type:                                                                   0 = Edge                                                                      1 = Level                                              6     EL14    R/W      IRQ14 type:                                                                   0 = Edge                                                                      1 = Level                                              5     --      R        Reserved                                               4     EL12    R/W      IRQ12 type. This bit is dedicated to                                          the FDC.                                                                      0 = Edge                                                                      1 = Reserved                                           3     EL11    R/W      IRQ11 type:                                                                   0 = Edge                                                                      1 = Level                                              2     EL10    R/W      IRQ10 type:                                                                   0 = Edge                                                                      1 = Level                                              1     EL9     R/W      IRQ9 type:                                                                    0 = Edge                                                                      1 = Level                                              0     --      R        Reserved                                               ______________________________________                                    

In FIG. 44, the Interrupt Request register stores requests from allchannels requesting service. Its bits are labeled using channel namesIR7-0. Corresponding to the channel names, the in-service register bitsare named IS7-0. These bits indicate which channels are currently beingserviced. The Interrupt Mask register permits the CPU to disable any orall interrupt channels. The priority resolver evaluates inputs from theabove three registers, issues interrupts, and latches the correspondingbits into the in-service G54 register. A master controller of FIG. 43outputs a code to the slave device during interrupt acknowledge cycles.This output is compared in the cascade buffer/comparator with a 3-bitidentification code (previously written). If the codes match, the slavecontroller generates an interrupt vector. The contents of the Vectorregister provide the CPU with the appropriate interrupt vector.

Interrupt Sequence

A complete system interrupt request and service consists of a sequenceof four method steps:

1) A peripheral asserts its interrupt line, which is routed to one ofthe PPU IRQs. If the interrupt channel is not masked in the InterruptMask register (IMR), the interrupt controller sets the corresponding bitin the Interrupt Request register (IRR).

2) The Priority Resolver in the interrupt controller controllerevaluates the requests and asserts CPU interrupt output INTR, ifappropriate.

3) The CPU corresponds to the interrupt request by performing a PCIinterrupt acknowledge cycle. The PPU PCI interface decodes the buscommand and sends two interrupt acknowledge pulses to the interruptcontroller.

4) The interrupt controller sets the relevant bit in the InterruptService register In-Service (ISR) and clears the IRR bit. The controlleroutputs an 8-bit vector, which is returned to the CPU on AD7-0 duringthe data phase of the PCI interrupt acknowledge cycle. If the automaticend-of-interrupt (EOI) mode is selected, the ISR bit is cleared.Otherwise, the interrupt service routine must issue an EOI commandbefore terminating.

End-of-Interrupt (EOI) Operation

End of interrupt (EOI) causes an ISR bit to be reset. A specific CPU EOIcommand, or the priority resolver clearing the highest-priority ISR bit(nonspecific EOI), can determine which ISR bit should be reset. If theinterrupt controller is operating in a mode that does not alter thefully nested structure, it can determine the correct ISR bit to reset. Aspecific EOI must be generated at the end of the interrupt serviceroutine in cases where the fully nested structure is not maintained. Anonspecific EOI command will not clear an ISR bit that is masked inspecial mask mode by an IMR bit. At the end of the PCI interruptacknowledge cycle, the interrupt controller can optionally generate anautomatic end of interrupt (AEOI).

The interrupt controller accepts two types of commands:

initialization command words (ICWs)

operational command words (OCWs)

In the following discussion of these commands, the address for the INTC1register will be listed first, followed by the address for the INTC2register in parentheses.

Four Initialization Command Words (ICWS) (ICW1-4) are used in writingthe initialization process.

ICW1 begins the process by writing the address 020h (0A0h) with a 1 onbit 4 of the data byte. The interrupt controller then performs thefollowing method steps:

Resets the initialization command word counter to 0

Latches ICW1 into the device

Enables fixed priority mode

Assigns IR7 the highest priority

Clears the Interrupt Mask register

Sets the slave mode address to 7

Disables special mask mode

Selects IRR for status read operations

The remaining three I/O writes to address 021h (0A1h) load ICW2-ICW4.

The ICWs and OCWs are as described in TACT83000 AT Chip Set: User'sGuide, Texas Instruments Inc. 1991 at pp. 2-31 through 2-37, and theentire said User's Guide is hereby incorporated herein by reference.

PPU Counter/Timer Subsystem

The PPU contains a programmable counter/timer (CTC) that is compatiblewith the Intel 8254. The subsystem contains three separate counters anda Control register that can be accessed at I/O addresses 040h to 043h.Counter 0 is connected to IRQ0 and generates a system timer interrupt.Counter 1 generates a refresh timing bit in the Port B register; andcounter 2 generates the speaker output signal SPKROUT of FIG. 60.

Counter Description

Each CTC counter includes the following:

A control register

A status register

16-bit counting element (CE)

Two 8-bit counter input latches (CIL and CIH)

Two 8-bit counter output latches (COL and COH)

The Control register determines the counter mode, and can be programmedby writing a control word to address 043h. The Status register containscounter mode and output information, and it is read using the readbackcommand. The input latches, CIL and CIH, hold the initial count valueand are loaded using the write command. The 16-bit counting element CEis the actual synchronous down counter, and it is loaded with the valueheld in the counter input latches following a mode-specific event. Thecounter contents can read using the read command. The output latches,COL and COH, allow software to read the counter contents withoutdisturbing counter operation by using the counter latch command.

Because the condition of the CTC control registers, counter registers,and counter outputs is undefined at powerup, each counter is suitablyprogrammed before it is used. All CTC commands are written to I/Oaddress 043h, and all count and status information is written to andread from separate I/O addresses for counters 0, 1, and 2. The counter 0read/write register is at I/O address 040h, while those for counters 1and 2 are located at 041h and 042h, respectively. A control word (awrite-only location) is written to the Control register prior to writingan initial count.

Read/Write Counter Commands

The write command initializes the counter and must be followed bycounter data writes to the appropriate counter read/write register. TheF3 through OF bits in the write command word specify whether thesubsequent counter data byte or bytes will go to either counter MSB,LSB, or both. The read command reads the counter and must be followed bycounter data reads from the appropriate counter read/write register. Theread command reads the counting element directly. The read may beundefined, if the count is in the process of changing. To disablecounter 2, clear Port B register bit 0 (TM2GATE) before the softwareissues the read command to ensure that the read data is valid. Counter 0and counter 1 are permanently enabled, and the read command does notreturn valid data. During read/write counter commands, M2-0 are definedas shown in the Control register definition for bits 3-1.

Latch Counter Command

COL and COH latch the current state in the CE after the software issuesa latch counter command. They remain latched until the CPU reads them,or until software reprograms the counter. Then the latches return to atransparent condition where software enables them, and can directly readtheir contents. Software issues latch counter commands to more than onecounter before it reads the first command. However, software reads onlythe first command, if the commands are issued to the same counter. Areadback command register returns the count value, mode, counter outputstate, and the counter null flag. A status byte register contains thestate of OUT, the condition of the null-count flag, theinitialization-command bits, the counter mode, and the counting-elementformat.

Counter Operation

Counters 0, 1, and 2 are all clocked at 1.193 MHz (14.31818 Mhz dividedby 12). Counters 0, 1, and 2 are intended to be used according to thefollowing guidelines:

Counter 0 generates IRQO and should be programmed in mode 3 to generatea square wave. Following initialization, counter 0 drives IRQ0 high andstarts decrementing the count by two each during clock period. When thecounter reaches zero, software reloads the initial count and drives IRQ0low. This process repeats continuously with IRQO flipping each time thecounter decrements to zero. This gives a square wave on IRQ0 with aperiod equal to the initial count value multiplied by the clock period(838 ns).

Counter 1 is used to toggle Port B register bit 4 refresh detect(REFDET) and should be programmed in mode 2. Following initialization,counter 1 drives REFDET high and starts decrementing the count by oneduring each clock period. When the counter reaches one, software drivesREFDET low for one clock period and then reloads the initial count. Thisprocess repeats continuously with REFDET pulsed low at a period equal tothe initial count value multiplied by the clock period (838 ns).

Counter 2 generates the speaker output, SPKROUT, as illustrated in FIG.60, and is usually programmed in mode 3. SPKROUT is pulsed low withperiod equal to the initial count value multiplied by the clock period(838 ns). Software enables counter 2 by setting Port B register bit 0(TM2GATE). The counter 2 output is read from Port B register bit 5(OUT2). Software enables SPKROUT output by setting Port B register bit 1(SPKDATA).

Real Time Clock Subsystem

The counter/timers are as described in TACT83000 AT Chip Set: User'sGuide, Texas Instruments Inc. 1991 at pp. 2-42 through 2-47, except forimprovements as described herein, and the entire said User's Guide ishereby incorporated herein by reference.

The real time clock (RTC) 918 of FIG. 11 has a time-of-day clock withalarm, programmable periodic interrupt, hundred-year calendar, and 114bytes of user-accessible low-power static RAM 919. Enhancements to theRTC allow it to operate in a low power consumption (battery-powered)mode (see layout of FIG. 12) and to secure the contents of both the RAMand clock during system powerup and powerdown. The RTC registers and RAMare accessed using an index/data register pair at I/O addresses 70h and71h. Before reading or writing a value to the data register, softwaremust first write an 8-bit offset to the index register. The 128addressable locations in the RTC are divided into 10 bytes. Theselocations contain the time, calendar and alarm data, four control andfour status bytes, and 114 RAM bytes. The CPU can read all 128 bytes,write to all locations except registers C and D, bit 7 of register A,and bit 7 of the seconds byte (always 0). Programming an interruptoccurrence time into the three alarm bytes generates an interrupt at aspecific time. Software can generate periodic interrupts by setting a 1(don't care) in the high order two bits in an alarm register. Forexample, to generate an interrupt every hour, program a C0h intoregister 5. To generate an interrupt once a second, program the samevalue into all three alarm registers.

The 144 bytes of RAM from index register 0Eh to 7Fh can be accessedduring update cycles and are general purpose. They are not affected bythe RTC, and when the system is off, the device is normally batterypowered. These bytes are suitably used as calibration parameters andnonvolatile storage for configuration.

Four status registers in the RTC subsystem are accessible by the CPU atall times. They are located at index addresses 0Ah-0Dh and control theoperation and monitor the status of the RTC.

RTC Status Registers A-D

Register A provides an update-in-progress flag, divider/prescalercontrol, and periodic interrupt control.

Register B enables the update cycle, controls the generation ofinterrupts, enables alarm interrupts, formats the hour and hour alarm,and provides a toggle between daylight and standard time.

Register C provides additional interrupt, alarm and updated endinterrupt flag information.

Register D provides a means to check the validity of the RTC data.

During normal operation, the RTC performs an update cycle once persecond. An update cycle depends on software clearing the divider bitsDV2-0, and clearing the SET bit in register B. An update cycleincrements the clock/calendar registers and compares them to the alarmregisters. While the cycle is comparing the register, it looks formatches. If a match occurs, an alarm is sent and an interrupt is issued,if both the alarm and interrupt control bits are enabled. During anupdate, the lower 10 registers are unavailable to the CPU to preventpossible data corruption in the registers, or reading of incorrect data.To avoid contention problems between the CPU and the RTC, a flag inregister A signals an impending update cycle. The update in progress(UIP) bit is asserted 244 ms prior to the start of the cycle and remainsuntil the cycle has been completed. Upon completion, software clears theUIP bit and sets the update flag bit in register C. During an updatecycle, CPU access is always allowed to registers A through D.

There are two methods for reading and writing time and date informationto the RTC, each allowing the user to avoid contention between the CPUand RTC:

1) Read register A, determine that the state of the UIP bit is 0, andperform the read or write operation. To operate successfully, the entireread or write operation preferably takes no longer than 244 ms tocomplete.

2) Read register C once and continue to read this register until theupdate flag bit is a 1. Read or write operations can be Gcompleted untilthe beginning of the next cycle.

Referring to FIG. 17, IDE/XD Interface signals are a subset of theinternal fast-AT bus signals which are used to connect the PPU internalperipherals of FIG. 11 to bus bridge 902. Bus 904 normally runs witheither a PCLK/2, PCLK/3 of PCLK/4 bus clock. Accesses to externaldevices connected to the XD and IDE interfaces can be configured to runat different speeds by adjusting the speed of the internal bus clockSYSCLK. In FIG. 17, the XD-bus and IDE interface signals are split intotwo sections, supplied by separate Voltage rails: VCC₋₋ XD and VCC₋₋ DK.Flexibility is a resulting advantage in choosing system components,allowing the use, for example, of 3.3-V keyboard Controller and BIOS ROM(for low power), together with a 5-V IDE drive (for low cost).

An XD interface 1501 supports the following external peripherals: BIOSROM 120 (which may be a flash EEPROM), Keyboard Controller 118, and twoadditional devices. Two DMA channels and a programmable chip-select,PCS0, are available to support a business audio chip such as the AnalogDevices AD1848. A second programmable chip-select PCS1 is alsoavailable.

The BIOS ROM 120 is supplied with address bits 1-0, a chip-select CS#and read/write strobes. The upper 15 address lines are driven onto thePCI address/data bus 104 by the PPU 110 while it is waiting for data tobe returned from the BIOS ROM. The PPU provides addresses tonon-writable BIOS 120 via the PCI AD bus. When the PPU responds to a PCII/O or memory-mapped read, it drives the address from the PCI bus backonto the PCI AD bus after it asserts DEVSEL. The address from AD31-2during the address cycle is driven onto AD31-2 during the data phase.The system implementation may connect the address lines of an EPROM BIOSto selected AD bus lines.

In FIG. 17, the XRD and XWR signals serve as read and write strobes forboth memory or I/O cycles depending on whether ROMCS# is active or notrespectively.

In FIG. 11, the PPU FDC subsystem 930 integrates all logic necessary forfloppy disk control. It is fully software compatible with the Intel82077SL including programmable power management functions. All signalsand buffers are provided to support either a 5.25 in (360 kB and 1.2 MB)or a 3.5 in (720 kB, 1.44 MB and 2.88 MB) floppy drive. An integratedhigh performance digital data separator (no external components)supports data rates up to 1Mbit/s. A 16-byte FIFO is included in the FDCbus interface to reduce bus latency.

Status, Data, and Control Registers

The table below summarizes the FDC registers accessible by the host. FDCRegister Accessibility

    __________________________________________________________________________                   Bit Names                                                      Address                                                                           Access                                                                            Register Name                                                                        D7 D6  D5  D4 D3   D2  D1  D0                                  __________________________________________________________________________    3F2 R/W Digital                                                                              ME3                                                                              ME2 ME1 ME0                                                                              DMAEN                                                                              NRSET                                                                             DSEL1                                                                             DSEL0                                       Output DOR                                                            3F3 R/W Tape Drive                                                                           -- --  --  -- --   --  TSEL1                                                                             TSEL0                               3F4 R   Main Status                                                                          RQM                                                                              DIO NDM CB D3B  D2B D1B D0B                                 3F4 W   Data Rate                                                                            SRST                                                                             POWD                                                                              DOSC                                                                              PRE2                                                                             PRE1 PRE0                                                                              DRS1                                                                              DRS0                                        Select                                                                3F5 R/W FIFO Data                                                                            Command/Data transfer                                          3F7 R   Digital Input                                                                        DSK                                                                              --  --  -- --   --  --  --                                          DIR    CHG                                                            3F7 W   Configuration                                                                        -- --  --  -- --   DRS2                                                                              DRS1                                                                              DRS0                                        Control                                                               __________________________________________________________________________

The FDC supports the following 24 Intel 82077SL-compatible commands:

1. Read Data

2. Read Deleted Data

3. Write Data

4. Write Deleted Data

5. Read ID

6. Write ID

7. Read Diagnostics

8. Scan Equal

9. Scan Low or Equal

10. Scan High or Equal

11. Seek

12. Recalibrate

13. Sense Interrupts

14. Sense Device Status

15. Specify

16. Configure

17. Dump Registers

18. Perpendicular Mode

19. Relative Seek

20. Verify

21. Version

22. Verset

23. Lock

24. Powerdown Mode

The FDC supports the following track formats:

IBM System 3740 FM

IBM System 34 MFM

Perpendicular MFM 500 kbit/s

Perpendicular MFM 1 Mbit/s

Formats 1 and 2 are the default formats; other formats are selected byissuing Perpendicular Mode command.

The FDC includes a phase-shifter to pre-compensate disk-write data forthe effects of data spreading. Either early, late or no precompensationis dynamically selected depending on the bit pattern. The magnitude ofthe phase shift is determined by the precompensation select bits in theData Rate Select Register, as shown next.

FDC Write Precompensation

    ______________________________________                                        PRE2      PRE1   PRE0       EARLY LATE                                        ______________________________________                                        0         0      0          Default                                           0         0      1          -41.7 +41.7                                       0         1      0          -83.3 +83.3                                       0         1      1          -125.0                                                                              +125.0                                      1         0      0          -166.7                                                                              +166.7                                      1         0      1          -208.3                                                                              +208.3                                      1         1      0          -250.0                                                                              +250.0                                      1         1      1          0.0   0.0                                         ______________________________________                                    

The DRS1 and DRS0 bits in the Data Rate Select Register select therequired data rate, and default precompensation as shown here: FDCDefault Precompensation

    ______________________________________                                                                           Default                                                  Data Rate MFM                                                                             Data Rate FM                                                                           Precompensation                            DRS1  DRS0    (bit/s)     (bit/s)  (ns)                                       ______________________________________                                        0     0       500K        250K     125.0                                      0     1       300K        150K     125.0                                      1     0       250K        125K     125.0                                      1     1       1M          --       41.7                                       ______________________________________                                    

The FDC Subsystem 930 includes a digital data separator which provides aclock synchronized to the frequency and phase of the raw data streamfrom the disk. This data separator locks to the data within 8 bytes andprovides greater than 40% jitter tolerance over plus or minus 12.5% ofthe nominal frequency. Both FM and MFM data encoding is supported atdata rates from 125 kbit/s to 1 Mbit/s.

The powerdown behavior of the FDC is compatible with that of the82077SL, with some improvements, detailed below.

Direct Powerdown Mode is entered by setting the POWD bit in the DataRate Select (DRS) register. This causes an immediate termination ofactivity, so should be avoided during commands which write to the disk.In Direct Powerdown Mode, the FDC clock is disabled and the FDC held ina software reset state. This mode can be exited by a software orhardware reset.

Auto Powerdown Mode is selected using a Powerdown Mode command. Oncethis mode is selected, the auto-powerdown state will be entered when thefollowing idle conditions are met: MSR register has a value of 80h,(Main Status Register, RQM=1, all else=0).

The head unload time has expired,

No interrupts are pending.

Since the FDC can enter or exit the auto-powerdown state instantly, nolatency timer is required.

During auto-powerdown, the FDC clock is stopped but no reset occurs.Auto-powerdown is exited by either writing to the data FIFO register orsetting any motor enable bit ME0, 1, 2 or 3 in the DOR register.

FDC signals are mapped to the parallel port terminals in FDC parallelport (FPP) mode as tabulated below:

    ______________________________________                                        PPU Terminal                                                                           Parallel Port Mode   FPP Mode                                        Number   Signal Name  I or 0  Signal Name                                                                           I or 0                                  ______________________________________                                         1       SLIN         O       STEP    O                                        2       ACK          I       DR1     O                                        3       BUSY         I       MEN1    O                                        4       PE           I       WDATA   O                                        5       SLCT         I       FDWE    O                                       195      STB          O       DR0     O                                       196      AFD          I/O     DENSEL  O                                       197      PDATA0       I/O     INDEX   I                                       198      PDATA1       I/O     TRACK0  I                                       199      PDATA2       I/O     WRP     I                                       200      PDATA3       I/O     RDATA   I                                       202      PDATA4       I/O     DSKCHG  I                                       203      PDATA5       I/O     --      I                                       204      PDATA6       I/O     MEN0    O                                       205      PDATA7       I/O     --      I                                       207      FAULT        I       HDSEL   O                                       208      INIT         O       DIR     O                                       ______________________________________                                    

This table should be compared by the reader with the PPU Signal PinDescriptions Table herein.

As shown in FIG. 11, FPP mode is selected by setting bit 6, PIFFDC, ofthe Parallel Interface Configuration register to 1. This register islocated at base address 78h in PCI configuration space and described inits table later below. When PIFFDC=1, the parallel port 938 is disabled(clock stopped, internal chip-select inactivated, and I/O's isolated)and the terminal pins otherwise used for parallel port 938 are connectedinstead via a multiplexer 939 to the FDC 932 in the manner shown above.

In FPP mode, two floppy drives 126.0 and 126.1 are supported with noincrease in the number of PPU 110 terminal pins, therefore twomotor-enable signals (MEN1, MEN0) and two drive-select signals (DR1,DR0) are provided.

For compatibility reasons, a single density select signal (DENSEL) isprovided in FPP mode in place of HD and ED in standard mode. DENSEL istrue (1) for high data rates (1M bytes/sec or 500K Bytes/Sec) and false(0) for low data rates (300K Bytes/Sec or 250K Bytes/Sec. In this way,the PPUllO pins already tabulated in the PPU Signal Pin DescriptionsTable for Floppy Disk Controller are augmented by this further set ofparallel port pins used for additional floppy access by an alternativeor additional floppy disk drive. In such advantageous arrangement, afloppy drive can be plugged into the parallel port connector andutilized in the FPP mode, further increasing the variety of systemembodiments.

Serial Port 936 of FIG. 11 serves two serial input/output channels thatsimultaneously perform serial-to-parallel conversion on data charactersreceived from peripheral devices or modems and parallel-to-serialconversion on data characters transmitted by the MPU 102. Theinformation obtained includes the type and condition of the transferoperations being performed and the error conditions. A programmable baudrate generator is included that can divide the timing reference clockinput by a divisor between 1 and 216-1. The circuitry is suitably madecompatible with an M16C550 serial port or enhanced TL16C450 serial port.

In the following summary of the serial port internal registers, I/Oaddresses should be added to a base address of 3F8h for serial port 0and 2F8h for serial port 1. Access to some registers is controlled bythe state of the divisor latch access bit (DLAB).

    ______________________________________                                        Serial Interface Internal Registers                                           I/O Address                                                                           DLAB    Access  Acronym                                                                              Register Function                              ______________________________________                                        Base + 0h                                                                             0       R       RBR    Receiver Buffer Register                       Base + 0h                                                                             0       W       THR    Transmitter Holding                                                           Register                                       Base + 1h                                                                             0       R/W     IER    Interrupt Enable Register                      Base + 2h                                                                             X       R       IIR    Interrupt Identification                                                      Register                                       Base + 2h                                                                             X       W       FCR    FIFO Control Register                          Base + 3h                                                                             X       R/W     LCR    Line Control Register                          Base + 4h                                                                             X       R/W     MCR    Modem Control Register                         Base + 5h                                                                             X       R/W     LSR    Line Status Register                           Base + 6h                                                                             X       R/W     MSR    Modem Status Register                          Base + 7h                                                                             X       R/W     SCR    Scratch Register                               Base + 0h                                                                             1       R/W     DLL    Divisor Latch (LS Byte)                        Base + 1h                                                                             1       R/W     DLM    Divisor Latch (MS Byte)                        ______________________________________                                    

Receiver Buffer Register (RBR) and Transmitter Holding Register (THR)are data registers that hold from five to eight bits of data. If fewerthan eight data bits are transmitted, data is right justified to theLSB. The data registers are double-buffered so that read and writeoperations are performed while the serial port is performing theparallel-to-serial or serial-to-parallel conversion.

    ______________________________________                                        Receiver Buffer Register (RBR 8 bits)                                         I/O Address (hex): base + 0h                                                  Bit       Name        Access    Description                                   ______________________________________                                        7-0       DATA7-0     R         Data bits 7-0                                 ______________________________________                                    

    ______________________________________                                        Transmitter Holding Register (THR)                                            I/O Address (hex): base + 0h                                                  Bit       Name        Access    Description                                   ______________________________________                                        7-0       DATA7-0     W         Data bits 7-0                                 ______________________________________                                    

    ______________________________________                                        Interrupt Enable Register (IER 8 bits)                                        I/O Address (hex: base + 1h)                                                  Bit   Name      Access  Description                                           ______________________________________                                        7-4   --        R/W     Reserved                                              3     MODS      R/W     Modem status interrupt enable                         2     RCVLS     R/W     Receiver line status interrupt enable                 1     TMXHRE    R/W     Transmitter Holding register empty                                            interrupt enable                                      0     RCVDA     R/W     Received data available interrupt                     ______________________________________                                                                enable                                            

    ______________________________________                                        Interrupt Identification Register (IIR 8 bits)                                I/O Address (hex): base + 2h                                                  Bit   Name      Access   Description                                          ______________________________________                                        7-6   FIFOE1-0  R        FIFO enabled                                                        FIFOE1 FIFOE0   Function                                       ______________________________________                                                       0      0                                                                      0      1                                                                      1      0                                                                      1      1                                                       5-4   --        R       Reserved                                              3     TCINT     R       Trigger change interrupt pending (active                                      only in FIFO mode)                                    2-1   HPIP1-0   R       Highest priority pending code bit                                   HPIP1   HPIP0    Function                                       ______________________________________                                                      0       0                                                                     0       1                                                                     1       0                                                                     1       1                                                       0     PENINT    R       Pending interrupt                                     ______________________________________                                    

    ______________________________________                                        FIFO Control Register (FCR 8 bits)                                            I/O Address (hex): base + 2h                                                  Bit  Name       Access  Description                                           ______________________________________                                        7-6  RCVTL1-0   W       Receiver FIFO trigger level                                         RCVTL1  RCVTL0   Function                                       ______________________________________                                                      0       0                                                                     0       1                                                                     1       0                                                                     1       1                                                       5-4  --         W       Reserved                                              3    MODE1      W       RXRDY and TXRDY mode 1                                2    XMTCLR     W       Transmitter FIFO clear                                1    RCVCLR     W       Receiver FIFO clear                                   0    FIFOEN     W       FIFO enable                                           ______________________________________                                    

    ______________________________________                                        Line Control Register (LCR 8 bits)                                            I/O Address (hex): base + 3h                                                  Bit   Name      Access   Description                                          ______________________________________                                        7     DLAB      R/W      Divisor latch access bit                             6     BC        R/W      Break controi                                        5     SP        R/W      Stick parity enable                                  4     EPS       R/W      Even parity select                                   3     PEN       R/W      Parity enable                                        2     STB       R/W      Stop bit select                                      0-1   WLSB1-0   R/W      Word length select                                                  WLSB1  WLSB0    Function                                       ______________________________________                                                       0      0                                                                      0      1                                                                      1      0                                                                      1      1                                                       ______________________________________                                    

    ______________________________________                                        Modem Control Register (MCR)                                                  I/O Address (hex): base + 4h                                                  Bit   7     6      5   4      3     2     1    0                              Name  --    --     --  LOOP   INTEN OUT   RTS  DTR                            Default                                                                             0     0      0   0      1     0     0    0                              ______________________________________                                        Bit   Name     Access   Description                                           ______________________________________                                        7-5   --       R/W      Reserved                                              4     LOOP     R/W      Provides a local loopback feature for                                         diagnostic channel testing                            3     INTEN    R/W      Interrupt enable                                      2     OUT      R/W      Output 1 (unused internal signal)                     1     RTS      R/W      Controls request-to-send signal (RTS)                 0     DTR      R/W      Controls data-terminal-ready signal                                           (DTR)                                                 ______________________________________                                    

    ______________________________________                                        Line Status Register (LSR)                                                    I/O Address (hex): base + 5h                                                  Bit    7       6        5     4    3   2    1   0                             Name   RCVR    TEMT     THRE  BI   FE  PE   OE  DR                            Default                                                                              0       0        0     0    1   0    0   0                             ______________________________________                                        Bit   Name     Access   Description                                           ______________________________________                                        7     RCVR     R/W      Receiver FIFO error                                   6     TEMT     R/W      Transmitter empty                                     5     THRE     R/W      Transmitter holding register empty                    4     BI       R/W      Break interrupt                                       3     FE       R/W      Framing error                                         2     PE       R/W      Parity error                                          1     OE       R/W      Overrun error                                         0     DR       R/W      Data ready                                            ______________________________________                                    

    ______________________________________                                        Modem Status Register (MSR)                                                   I/O Address (hex): base + 7h                                                  Bit   7      6     5    4    3     2    1     0                               Name  DCD    RI    DSR  CTS  DDCD  TERI DDSR  DCTS                            Default                                                                             0      0     0    0    1     0    0     0                               ______________________________________                                        Bit   Name     Access   Description                                           ______________________________________                                        7     DCD      R/W      Indicates the status of the                                                   data-carrier-detect (DCD) input                       6     RI       R/W      Indicates the status of the                                                   ring-indicator (RI) input                             5     DSR      R/W      Indicates the status of the                                                   data-set-ready (DSR) input                            4     CTS      R/W      Indicates the status of the clear-to-send                                     (CTS) input                                           3     DDCD     R/W      Delta data carrier detect                             2     TERI     R/W      Trailing edge of ring indicator                       1     DDSR     R/W      Delta data set ready                                  0     DCTS     R/W      Delta clear to send                                   ______________________________________                                    

    ______________________________________                                        Scratch Register (SCR 8 bits)                                                 I/O Address (hex): base + 7h                                                  Bit        Name        Access    Description                                  ______________________________________                                        7-0        DATA7-0     R/W       Data bits 7-0                                ______________________________________                                    

Divisor Latch Registers (DLL and DLM)

I/O Address (hex): base+Oh and base+1h

The Divisor Latch registers hold a 16-bit number that is used to obtaina sampling clock from the timing reference clock input. The samplingclock is 16 times the desired baud rate.

Parallel Port Interface

The PPU parallel port 938 is an extended capabilities parallel (ECP)port with additional enhanced parallel port (EPP) protocol support. ECPmodes 000 and 001 are compatible with Centronics and bidirectionalCentronics ports, and ECP mode 100 (normally unused) is defined to beEPP mode. Thus, together with the ECP protocol modes, the PPU parallelport supports three distinct transfer protocols. Advantageously, pincount is minimized by using the same pins in the PPU Signal PinDescription Table (earlier hereinabove) for any of the modes. See pins1-5 and 195-208. In FIG. 42, the parallel port 938 has an 8-bit hostinterface 4210 (including DMA support) that is connected to the Fast-ATbus 904, a sequencer 4220 containing state machines for the threedifferent protocols, a 16-byte FIFO data path 4230, and a parallelinterface 4245.

In the "Centronics" modes, the parallel port is compatible with aCentronics uni- or bidirectional parallel port. It consists of a singlebyte data port that is used to write and read data to/from the port datalines, and registers to control and reflect the status of the parallelport signals. Signalling protocol is handled by software which mustassert control strobes and poll for acknowledgement itself. Maximumbandwidth is about 150K bytes/s.

In enhanced parallel port (EPP) mode, SLIN and AFD are automaticallygenerated and are redefined to be address strobe and data stroberespectively, while STB indicates a write or a read cycle. AdditionalI/O addresses are defined for data and address accesses and when theselocations are used, handshaking is performed automatically by hardware.Together with faster interface timing, this allows data throughput up to2M bytes/s.

Extended Capabilities Port (ECP) Protocol is an enhancement to the IEEEP1284 standard; it defines transfer protocols and timing that offer areverse channel as fast as the forward channel and places no limits onthe data transfer speeds in either direction. Software overhead isreduced by direct memory access (DMA) support, data buffering, andautomatic strobe generation. ECP defines separate I/O locations foraddress and data accesses, specifies standard configuration registers toaid plug-and-play, allow for future expansion, and specifies FIFOoperation.

The parallel port operating modes are selected by bits 7-5 of theExtended Control register in block 4240 of FIG. 42 and tabulated laterhereinbelow in the chart for that register with descriptions below next.

Standard Parallel Port Mode (000) is the default mode in which parallelport behavior is compatible with the standard Centronics port. The FIFOis reset and the direction bit in the Device Control register has noeffect.

Bidirectional Parallel Port Mode (001) is the same as mode 000 exceptthat setting the direction bit floats (three-states) the data lines andreading the data register returns the value on the data lines.

In Parallel Port FIFO Mode (010) data written or DMAed to the FIFO istransmitted automatically using the "Centronics" protocol. Only theforward direction is useful.

ECP Parallel Port Mode (011) has forward direction (direction=0) datawritten to the ECP data FIFO. Addresses written to the ECP address FIFOare placed in a single FIFO and transmitted automatically using ECPprotocol. In the reverse direction (direction=1) data bytes aretransferred from the ECP parallel port and placed in the FIFO.

In enhanced Parallel Port Mode (100), EPP read, write, or address cyclescan be executed or, if no EPP cycle is pending, compatible "Centronics"accesses can be made (is in mode 001). A software process should setdirection=0 before attempting to perform an EPP write cycle.

Mode 101 is available for any additional mode desired by the skilledworker.

In FIFO Test Mode (110) the FIFO can be written and read but no data istransmitted on the parallel port. The FIFO wIll not stop accepting orsending data if full or empty conditions occur, and the FIFO read andwrite address counters simply wrap around.

In Configuration Mode (111), the ECP Configuration registers A and B areaccessible.

Mode-switching is allowed only into and out of modes 000 and 001. AllP1284 negotiation takes place in these two modes. Setting the mode to011 (ECP) causes the hardware to initiate data transfer. Switching outof modes 011 or 010 in the middle of a transfer or when data remains inthe FIFO causes the transfer to be aborted and the data to be lost.

The PPU parallel port supports decompression of run length encoded (RLE)data in ECP mode (011) refers direction. During reverse directiontransfers, the peripheral indicates a command byte is to be transferredby setting PeriphAck (BUSY) low. Bits 6-0 of the command byte indicatethe number of times the next data byte should be replicated; bit 7 iszero.

Parallel Port Internal Registers of Port 938 are given by this table:

    ______________________________________                                        I/O Address                                                                           Mode     Access  Acronym                                                                              Register Function                             ______________________________________                                        378h    Std/Bid  R/W     PADATA Data Port Register                                    i                                                                             and EPP                                                               378h    ECP      W       EAFIFO ECP Address FIFO                                                              Register                                      379h    All      R       DSR    Device Status Register                        37Ah    All      R/W     DCR    Device Control Register                       37Bh    EPP      R/W     EPPA   EPP Address Port                                                              Register                                      37Ch-37Fh                                                                             EPP      R/W     EPPD   EPP Data Port Register                        778h    ECP      R/W     ECPFIFO                                                                              ECP Data FIFO Register                        778h    Config   R       ECPCA  ECP Configuration                                                             Register A                                    779h    Config   R       ECPCB  ECP Configuration                                                             Register B                                    77Ah    All      R/W     ECR    Extended Control                                                              Register                                      ______________________________________                                    

Data Port Register (in block 4240)

I/O Address (hex):378

This is the standard parallel data port register. In standard mode,writing to this register drives data onto the parallel port data lines.In all other modes, the drivers can be three-stated by setting thedirection bit (5 ) in the Device Control register. Reads to thisregister return the value on the data lines.

    ______________________________________                                        Bit       Name      Access    Description                                     ______________________________________                                        7-0       PD7-0     R/W       Parallel data port                              ______________________________________                                    

ECP Address FIFO Register (EAFIFO in block 4250) I/O Address

    ______________________________________                                        Bit       Name        Access    Description                                   ______________________________________                                        7-0       EAFIFO7-0   W         ECP address                                   ______________________________________                                    

    ______________________________________                                        Device Status Register (DSR) (in block 4240)                                  I/O Address (hex): 379                                                        Bit   Name     Access   Description                                           ______________________________________                                        7     BUSY     R        Corresponds to the BUSY input                         6     ACK      R        Corresponds to the ACK input                          5     PE       R        Corresponds to the PE input                           4     SLCT     R        Corresponds to the SLCT input                         3     ERR      R        Corresponds to the ERR input                          2     PRINT    R        Printer interrupt.                                                            Set to 0 by rising transition of ACK                                          Set to 1 by read of this register                     1-0   --       R        Reserved                                              ______________________________________                                    

    ______________________________________                                        Device Control Register (DCR 8 bits) (in block 4240)                          I/O Address (hex): 37A                                                        Bit  Name      Access  Description                                            ______________________________________                                        7-6  --        R/W     Reserved                                               5    DIR       R/W     In standard (000) and FIFO (010)                                              modes this bit has no effect. In all oth-                                     er modes:                                                                     1 = three-state the parallel port data                                        lines.                                                 4    INT2EN    R/W     1 = enable interrupts on the rising edge of                                   ACK                                                    3    SLIN      R/W     Select line printer:                                                          1 = SLIN output active                                                        0 = SLIN output inactive                               2    INIT      R/W     Initialize:                                                                   1 = INIT output active                                                        0 = INIT output inactive                               1    AFD       R/W     Autofeed:                                                                     1 = AFD output active                                                         0 = AFD output inactive                                0    STB       R/W     Strobe;                                                                       1 = STB output active                                                         0 = STB output inactive                                ______________________________________                                    

EPP Address Port Register (EPPA) (in block 4250)

I/O Address (hex):37B

In EPP mode (100), when data is read from or written to the EPP AddressPort register, an address strobe is automatically generated.

    ______________________________________                                        Bit      Name       Access    Description                                     ______________________________________                                        7-0      EPPA7-0    R/W       EPP address strobe                              ______________________________________                                    

EPP Data Register (PADATA) (in block 4250)

I/O Address (hex):37C-37F

In EPP mode (100), when data is read from or written to the EPP Dataregister, an address strobe is automatically generated.

    ______________________________________                                        Bit     Name        Access   Description                                      ______________________________________                                        31-0    PADATA31-0  R/W      Parallel port for EPP data                       ______________________________________                                    

ECP Data FIFO Register (ECPFIFO) (in block 4250)

I/O Address (hex):778

A data byte written to the ECP Data FIFO register is placed in the FIFOand tagged as ECP data.

    ______________________________________                                        Bit   Name        Access   Description                                        ______________________________________                                        7-0   ECPFIFO7-0  R/W      Parallel data port for ECP data                    ______________________________________                                    

    ______________________________________                                        ECP Configuration Register A (ECPCA) (in block 4240)                          I/O Address (hex): 778                                                        Bit   7       6       5     4      3   2    1   0                             Name  IMPID3  IMPID2  IMPID1                                                                              IMPID0 --  --   --  --                            Default                                                                             0       0       0     1      1   1    1   1                             ______________________________________                                        Bit  Name      Access  Description                                            ______________________________________                                        7-4  IMPID3-0  R       Implementation ID number. Always reads                                        0001b to indicate an 8-bit implementa-                                        tion. (PWORD = 1 Byte)                                 3-0  --        R       Reserved. Always reads 1111b                           ______________________________________                                    

    __________________________________________________________________________    ECP Configuration Register B (ECPCB) (in block 4240)                          I/O Address (hex): 779                                                        Bit 7   6   5   4   3   2   1   0                                             Name                                                                              COM-                                                                              INTR                                                                              INTR                                                                              INTR                                                                              INTR                                                                              DMA DMA DMA                                               PRESS                                                                             VALUE                                                                             LINE2                                                                             LINE1                                                                             LINE0                                                                             CHNL2                                                                             CHNL1                                                                             CHNL0                                         Default                                                                           0   0   0   0   1   0   1   1                                             __________________________________________________________________________    Bit                                                                              Name    Access                                                                            Description                                                    __________________________________________________________________________    7  CCMPRESS                                                                              R   Compression: off = 0; on = 1                                   6  INTRVALUE                                                                             R   Returns value on interrupt line to                                            determine possible conflicts.                                  5-3                                                                              INTRLINE2-0                                                                           R   Always reads 001. IRQ7 selected                                2-0                                                                              DMACHNL2-0                                                                            R   Always reads 011. DMA channel 3                                               selected                                                       __________________________________________________________________________

    __________________________________________________________________________    ECP Extended Control Register (ECR) (in block 4240)                           I/O Address (hex): 77A                                                        Bit 7    6    5    4      3    2    1   0                                     Name                                                                              MODE2                                                                              MODE1                                                                              MODE0                                                                              FLTINTREN                                                                            DMAEN                                                                              SVCINTR                                                                            FULL                                                                              EMPTY                                 Default                                                                           0    0    0    1      1    1    1   1                                     __________________________________________________________________________    Bit Name    Access                                                                             Description                                                  __________________________________________________________________________    7-5 MODE3-0 R/W  Select mode of operation                                                      MODE2                                                                              MODE1 MODE0                                                                              Mode                                         __________________________________________________________________________                     0    0     0    Standard parallel                                                             port (forward)                                                0    0     1    Bidirectional paral-                                                          lel port.                                                     0    1     0    Parallel Port FIFO                                            0    1     1    ECP parallel port                                             1    0     0    EPP parallel port                                             1    0     1    Reserved                                                      1    1     0    FIFO test                                                     1    1     1    Configuration                                4   FLTINTREN                                                                             R/W  In ECP mode, when set to 0, enables an                                        interrupt on the falling edge of FAULT.                      3   DMAEN   R/W  0 = disable DMA                                              2   SVCINTR R/W  0 = disable DMA and all service interrupts                   1   FULL    R/W  1 = FIFO is full                                             0   EMPTY   R/W  1 = FIFO is empty                                            __________________________________________________________________________

IDE Interface

The X-bus data bits<7:0> are shared with the IDE interface, but anexternal '245 buffer used to isolate the IDE data from the XD data, sothat the IDE drive can be powered down to save energy while the XDinterface is still functioning. The rest of the normal IDE interfacesignals, including IDE data bits <15:8> are included in the IDEinterface.

CSlFX decodes I/O addresses 1F0-1F7h and CS3FX decodes addresses3F6-3F7h.

An IOCHRDY input is supported for use by drives which insert wait-statesin order to lengthen the IDE access cycle.

Power Management Unit (PMU) In FIG. 23, PMU State Definitions are asfollows:

In the READY state, the system is fully powered up and runs at fullspeed. Individual devices may be powered down.

The STANDBY state conserves power by adjusting CPU turn-on time by aMask Clock circuit of FIG. 27.

The TEMPORARY state is similar to the READY state, and is enteredthrough the STANDBY state (by a system event, a KBC or mouse interrupt).After a short-duration timer times out, the system will return to theSTANDBY state.

The 3-V SUSPEND state differs from the T(off) duration of the STANDBYstate in the following respects:

All the clocks, not just the CPU clock, are stopped.

The MPU crystal oscillating circuitry is disabled.

All the peripheral devices can be powered down, without regard to statusof the peripheral timers.

A resume from 3-V SUSPEND can be caused by either RTC alarm, modem ring,keyboard or mouse interrupts, suspend/resume button, on/off button,CRDSMI from PCU112, or a low-to-high transition on the BATLOW signal.

The 0-V SUSPEND state has the lowest level of power consumptionavailable. System state is stored to disk by software. All components,except the RTC 918 and the resume logic of the PMU, are powered down.The system can resume by FIG. 21 SRBTN input, ONBTN input, or RTC alarm.

The OFF state is the same as 0-V SUSPEND except the system state is notstored to disk and the SRBTN input will not turn the system on.

The state transitions A,B, , , , Q,R for FIG. 23 are explained in thenext table. The FIG. 23 state machine control logic 2035 is defined bythe logic in this table which is straightforwardly implemented aselectronic logic from the logic information in the table. Conjunctions"and" and "or" refer to Boolean AND and OR. Parentheses (), brackets !and braces { } group Boolen expressions.

State Transition Table for FIG. 23

    __________________________________________________________________________    Path                                                                             Transition    Software/Hardware State                                      __________________________________________________________________________    A  READY --> STANDBY                                                                            Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 01!                  B  READY --> 3-V SUSPEND                                                                        Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 10! and                               (SUSPSEL bit is 1)                                           C  READY --> 0-V SUSPEND                                                                        Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 10! and,                              (SUSPSEL bit is 0)                                           D  READY --> OFF  Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 11! or                                 (PWRCD3 input transits from high to low) and                                 (BATLOW input is active)!                                    E  STANDBY --> READY                                                                            Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 00! or                                (STANDBY timer doesn't time out)                             F  STANDBY --> TEMPORARY                                                                       (STANDBY timer times out but TEMPORARY timer                                  doesn't time out)                                            G  STANDBY --> 3-V SUSPEND                                                                      Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 10! and                               (SUSPSEL bit is 1)                                           H  STANDBY --> 0-V SUSPEND                                                                      Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 10! and                               (SUSPSEL bit is 0)                                           I  STANDBY --> OFF                                                                              Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 11! or                                 (PWRGD3 input transits from high to low) and                                 (BATLOW input is active)!                                    J  TEMPORARY --> READY                                                                          Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 00! or                                (STANDBY timer doesn't time out.)                            K  TEMPORARY --> STANDBY                                                                       (Both STANDBY and TEMPORARY timers time out)                 L  TEMPORARY --> 3-V SUS-                                                                       Software writes the STATE bits of the PMU.sub.-- CNTRL         PEND          register (base address: 0A0h-0A2h) with 10! and                               (SUSPSEL bit is 1)                                           M  TEMPORARY --> 0-V SUS-                                                                       Software writes the STATE bits of the PMU.sub.-- CNTRL         PEND          register (base address: 0A0h-0A2h) with 10! and                               (SUSPSEL bit is 0)                                           N  TEMPORARY --> OFF                                                                            Software writes the STATE bits of the PMU.sub.-- CNTRL                       register (base address: 0A0h-0A2h) with 11! or                                 (PWRGD3 input transits from high to low) and.                                (BATLOW input is active)!                                    O  3-V SUSPEND --> READY                                                                        (INBLRES bit is 0) or (BATLOW input is inac-                                 tive)! and                                                                    {(S/R Button is pushed) or                                                     (On/Off Button is pushed) and (RMSKOBTN bit is                               0)! or                                                                         (Alarm input is high) and (RMSKALARM bit is 0)!                              or                                                                             (Ring input is high) and (RMSKRING bit is 0)!                                or                                                                             (PCMCIA generates an CRDSMI) and (RMSKCRDSMI                                 bit is 0)! or                                                                  (Keyboard or mouse interrupts) and (RMSKKBMS                                 bit is 0)! or                                                                  (BATLOW input transits from low to high) and                                 (BLRES bit is 1)!}                                           P  3-V SUSPEND --> OFF                                                                         (PWRGD3 input transits from high to low) and                                  (BATLOW input is active)                                     Q  0-V SUSPEND --> READY                                                                        (INBLRES bit is 0) or (BATLOW input is inac-                                 tive)! and                                                                    (S/R Button is pushed) or  (On/Off Button is                                  pushed) and                                                                   (RMSKOBTN bit is 0)!                                         R  OFF --> READY  (On/Off Button is pushed) and (BATLOW input is                               inactive)!                                                   __________________________________________________________________________

    __________________________________________________________________________    Power State Information for each PMU state of FIG. 23                         __________________________________________________________________________    Power-Up Status                                                                        Ready                                                                              Standby                                                                             Temporary                                                                           3-V Suspend                                                                         0-V Suspend                                                                         Off                                     VCC to MPU                                                                             On   On    On    On    Off   Off                                     VCC to PCU                                                                             On   On    On    On    Off   Off                                     VCC to PPU                                                                             On   On    On    On    Off   Off                                     (less PMU)                                                                    VCC to KBC                                                                             On   On    On    On    Off   Off                                     VCC to DRAM                                                                            On   On    On    On    Off   Off                                     VCC to PMU                                                                             On   On    On    On    Off   Off                                     Other Logic                                                                   (Note 1)                                                                      VCC to PMU                                                                             On   On    On    On    On    On                                      Resume Logic                                                                  (Note 2)                                                                      VCC to RTC                                                                             On   On    On    On    On    On                                      VCC to Peripherals                                                                     Dynamic                                                                            Dynamic                                                                             Dynamic                                                                             (Note 3)                                                                            Off   Off                                     System Data and                                                                        Active                                                                             Active                                                                              Active                                                                              Stored                                                                              Stored                                                                              Not                                     Status                    in DRAM                                                                             on disk                                                                             saved                                   Peripheral Timers                                                                      Active                                                                             Active                                                                              Active                                                                              Active                                                                              Stopped                                                                             Stopped                                                                 Cleared                                                                             Cleared                                 CPU Clock                                                                              On   T(on)/T(off)                                                                        On    Off   Off   Off                                     Other Clocks                                                                           Active                                                                             Active                                                                              Active                                                                              Off   Off   Off                                     Exit From This                                                                         A to D                                                                             E to I                                                                              J to N                                                                              O, P  Q     R                                       State (Note 4)                                                                __________________________________________________________________________     Notes;                                                                        1) PMU "other logic" consists of all the logic in the PMU subsystem excep     the resume logic.                                                             2) PMU resume logic consists of the logic for resume from the 0V SUSPEND      states (ONBTN, RTC alarm, and suspend/resume button monitoring circuits)      and for wake up from the OFF state (ONBTN and RTC alarm monitoring            circuits).                                                                    3) Peripheral power is enabled/disabled by software before entering 3V        suspend.                                                                      4) See previous table, "A to D" means items A to D inclusive, etc. in         State Transition Table.                                                       When the system is in the READY or TEMPORARY states, the HISPD input of       FIG. 27 is high and MASKCLK is always inactive (high).                        When the system is in the 3.3 V SUSPEND, 0V SUSPEND or OFF states MASKCLK     is always active (low).                                                  

When the system is in the STANDBY state MASKCLK is modulated as in FIG.27 between two adjacent system timer interrupts (IRQ0's) or two adjacentperiodic SMI's. This signal is inactive for a fraction of time thenbecomes active for the rest of the period. The inactive/active(Ton/Toff) ratio is determined by the TONTOFF register 2510. Inaddition, if a keyboard interrupt, a mouse interrupt, a PCI bus masterrequest, or (optionally) a system event occurs, the MASKCLK becomesinactive for a period of time, which is determined by the TemporaryTimer TEMP programming bits 20-23 of the PMU₋₋ TIMER register.

Turning now to the subject of clocks, and referring to FIG. 37, all PPUclock signals are derived from four primary clock signals. These primaryclocks are:

PCLK. This is the PCI clock signal as specified in the PCI Revision 2.0Specification.

14 MHZ₋₋ CLK. 14.31818-MHz clock signal is generated by PPU on-chiposcillator and external crystal.

32 KHZ₋₋ CLK. 32.768-kHz clock signal is generated by PPU on-chip RTCoscillator and external crystal.

48 MHZ₋₋ CLK. 48-MHz clock signal is generated by PPU on-chip oscillatorand external crystal.

The 32 kHz₋₋ CLK is powered by RTCPWR and is always active. The otherprimary clocks are active during Power-On-Reset, but stopped duringSUSPEND. When a resume event occurs, clock stable indications from thePMU are used to produce stabilized versions of the primary clocks.

All secondary clocks are derived from the three stabilized versions ofthe primary clocks, that is they are active during reset and inactiveduring suspend and for a predetermined time after a resume event. Thenext table shows the various internal PPU clocks and their derivation.

    ______________________________________                                                Nominal                                                               Clock Signal                                                                          Value(s)    Used by    Derivation                                     ______________________________________                                        SYSCLK  16, 12, or 8                                                                              Fast-AT Bus                                                                              PCLK/2, /3, or /4                                      MHz         and DMA con-                                                                  troller                                                   FDCCLK  24 MHz      FDC        48 MHZ.sub.-- CLK/2                            KBCCLK  16, 12, 8 or 4                                                                            KBC (external)                                                                           48 MHZ.sub.-- CLK/3, /4,                               MHz                    /6, /12                                        SIFCLK0 1.8461 or 8 MHz                                                                           Serial Port 0                                                                            48 MHZ.sub.-- CLK/26 or                                                       /6                                             PARCLK  8 MHz       Parallel Port                                                                            48 MHZ.sub.-- CLK/6                            TMRCLK  1.193 MHz   Timers     14 MHz.sub.-- CLK/12                           ______________________________________                                    

Secondary clocks are disabled when the corresponding Block Enable signal(from PCI-space configuration registers) is inactive. Secondary clockfrequency switching and enabling/disabling is performed with circuitsthat prevent glitches. Each clock divider is provided with a short resetby the PMU after power up and 0-V resume.

Referring to Port B and FIG. 60, The PPU provides an I/O port (port B)and logic to control the speaker output. Since the PPU does not generatean NMI (nonmaskable interrupt), signals ENIOCK and ENPRCK signals areredundant but provided for compatibility.

Port B Register

I/O Address

    ______________________________________                                        Bit Name       Access  Description                                            ______________________________________                                        7   PRCK       R       Indicates parity error has occurred                    6   IOCHCK     R       I/O channel check signal                               5   OUT2       R       Timer 2 output                                         4   REFDET     R       Refresh detected indicator                             3   ENIOCK     R/W     Not used in PPU                                        2   ENPRCK     R/W     Not used in PPU                                        1   SPKDATA    R/W     Used to gate Timer 2 output to speaker                 0   TM2GATE    R/W     Enables Timer 2 gate                                   ______________________________________                                    

The SPKDATA and TM2GATE signals are connected as shown in FIG. 60.

PPU Registers Summary

The configuration registers 1222 of PPU110 are listed in the nextlengthy table. Registers 1222 define how the PPU functions interact withthe rest of the system (enabling, interrupt configuration, I/O map,etc.). All the undefined registers should be considered as reservedspace. The design of the address decoding circuitry in PPU is patternedon the designation of register addresses in the table.

PPU Configuration Registers 1222 (access via PCI space)

    ______________________________________                                        Base Ad-                                                                      dress (h)                                                                            Acronym      Register Function                                         ______________________________________                                        00     VID          Vendor Identification Number                              02     DID          Device Identification Number                              04     COMM         Command Decode and Generation                                                 Control                                                   06     STS          Device Status                                             08     REVID        Revision Identification Number                            09-0B  CLCD         Class Code                                                0E     HT           Header Type                                               4B-48               Reserved                                                  40     PCICRTL      PCI Bus Control                                           51-50  PCUINT       PCU Interrupt Shadow                                      52     INTEN        PPU Internal Interrupt Enable                             53     PCIINT       PCI Interrupt Mapping                                     58-59  PCS0         Programmable Chip Select 0                                5A-5B  PCS1         Programmable Chip Select 1                                60     PAC          PCI Arbiter Control                                       70     MISC         Miscellaneous                                             71     FDR          Floppy Disk                                               72     IDE          IDE Interface Configuration                               74     SIF          Serial Interface Configuration                            75                  Reserved                                                  78     PIF          Parallel Interface Configuration                          80     RCS          ROM Chip Select Configuration                             90     SHDNDX       Shadow Index Register                                     91     SHDDATA      Shadow Data Register                                      0A0-0A2                                                                              PMU.sub.-- CONTROL                                                                         PMU status and control (on V.sub.-- bat)                  0A4    MASK.sub.-- RESUME                                                                         Suspend/resume status and control (on                                         V.sub.-- bat)                                             0A8-0AA                                                                              SOURCE.sub.-- SMI                                                                          SMI source-event indicators                               0AC-0AE                                                                              MASK.sub.-- SMI                                                                            SMI source-event masking control                          0B0-0B3                                                                              MASK.sub.-- SYSTEM                                                                         Standby and suspend activity monitor                                          masks                                                     0BC-0BF                                                                              PMU.sub.-- TIMERS                                                                          PMU activities monitor timers time out                                        values                                                    0C0    TONTOFF.sub.-- ADJ                                                                         CPU clock on/off percentage adjustment                    0C4    PWM.sub.-- INTNSTY                                                                         LCD Backlight pulse-width-modulation                                          adjustment                                                0C8-0CB                                                                              VGA.sub.-- DECODE                                                                          VGA standard and linear frame buffer                                          address decode                                            0CC    MASK.sub.-- CPUCLK                                                                         Mask off the CPU clock                                    0D0-0D3             Reserved                                                  ______________________________________                                    

    ______________________________________                                        PPU Control Registers for PC Functions (Access via I/O Space on bus           904)                                                                          Default                                                                       Address                                                                       (h)    Function Register            Access                                    ______________________________________                                        1F0    IDE      Data Register       R/W                                       1F1    IDE      Error Register      R                                         1F1    IDE      Features Register   W                                         1F2    IDE      Sector Count Register                                                                             R/W                                       1F3    IDE      Sector Number Register                                                                            R/W                                       1F4    IDE      Starting Cylinder Address LSB                                                                     R/W                                                       Register                                                      1F5    IDE      Starting Cylinder Address MSB                                                                     R/W                                                       Register                                                      1F6    IDE      Drive and Head Select Register                                                                    R/W                                       1F7*   IDE      Sector Count Register                                                                        --     R                                       1F7*   IDE      Command Register                                                                             --     W                                       278    PIF      Data Register  PDR    R/W                                     279    PIF      Status Register                                                                              PSR    R                                       27A    PIF      Control Register                                                                             PCR    R/W                                     **     SIF      Receiver Buffer Regis-                                                                       RBR    R                                                       ter                                                           **     SIF      Transmitter Holding                                                                          THR    W                                                       Register                                                      **     SIF      Divisor Latch (LSB)                                                                          DLL    R/W                                                     Register                                                             SIF      Divisor Latch (MSB)                                                                          DLM    R/W                                                     Register                                                             SIF      Interrupt Enable Reg-                                                                        IER    R/W                                                     ister                                                                SIF      Interrupt Identifica-                                                                        IIR    R                                                       tion Register                                                        SIF      FIFO Control Register                                                                        FCR    W                                              SIF      Line Control Register                                                                        LCR    R/W                                            SIF      Modem Control Register                                                                       MCR    R/W                                            SIF      Line Status Register                                                                         LSR    R/W                                            SIF      Modem Status Register                                                                        MSR    R/W                                            SIF      Scratch Pad Register                                                                         SCR    R/W                                     378    STD/EPP  Data Port      PADATA R/W                                     378    ECP      ECP Address FIFO                                                                             EAFIFO W                                       379    P/U      Status         DSR    R                                       37A    P/U      Control Register                                                                             DCR    R/W                                     37B    EPP      EPP Address    EPPA   R/W                                     37C-37F                                                                              EPP      EPP Data       EPPD   R/W                                     3F0    FDC      Status Register A                                                                            SRA    R                                       3F1    FDC      Status Register B                                                                            SRB    R                                       3F2    FDC      Digital Output Register                                                                      DOR    R/W                                     3F3    FDC      Tape Drive Register                                                                          TDR    R/W                                     3F4    FDC      Main Status Register                                                                         MSR    R                                       3F4    FDC      Data Rate Select Regis-                                                                      DSR    W                                                       ter                                                           3F5    FDC      Data Register  FIFO   R/W                                     3F6    IDE      Alternate Status Regis-                                                                      --     R                                                       ter                                                           3F6    IDE      Device Control Register                                                                      --     W                                       3F7§                                                                            IDE      Drive Address Register                                                                       --     R                                       3F7§                                                                            FDC      Digital Input Register                                                                       DIR    R                                       3F7    FDC      Configuration Control                                                                        CCR    W                                                       Register                                                      778    ECP      ECP Data FIFO Register                                                                       ECPFIFO                                                                              W                                       778    ECP      ECP Configuration Reg-                                                                       ECPCA  R                                                       ister A                                                       779    ECP      ECP Configuration Reg-                                                                       ECPCB  R                                                       ister B                                                       77A    P/U      Extended Control Regis-                                                                      ECR    R/W                                                     ter                                                           ______________________________________                                         *These registers reside in the IDE drive, and are not internal to the PPU     **If DLAB (LCR Bit 7) = 0; then RBR and THR are being accessed. If DLAB =     1; then DLL is accessed.                                                      § Shared between IDE and FDC functions.                             

    ______________________________________                                        I/O Address Ranges for PPU                                                    Address Range (h)                                                                             Device Selected                                               ______________________________________                                        000-00F         DNA1                                                          020-021         INTC1                                                         022-023         CONFIG                                                        040-043         CTC                                                           070-071         RTC                                                           080-08F         DMA PAGE                                                      0A0-0A1         INTC2                                                         0D0-0DF         DMA2                                                          480-48F         DMA HIGH PAGE                                                 4D0-4D1         IRQ Edge/Level Control Register                               ______________________________________                                    

    __________________________________________________________________________    PCI Bus Control (PCICTRL) Register                                            Base Address (hex): 43-40                                                     Bit Name    Access                                                                            Description                                                   __________________________________________________________________________    31-25                                                                             --      R/W Reserved                                                      24  SDSP    R/W Subtractive Decode Sample Point.                                              Controls how the PPU monitors and                                             drives DEVSEL when acting as a PCI                                            slave.                                                                        When set to 1, the PPU samples DEVSEL                                         on the two PCLK rising edges following                                        the address cycle; If no other PCI                                            device has asserted DEVSEL and the                                            transaction is one the PPU can accept,                                        it will then assert DEVSEL after the                                          second PCLK rising edge so that the PCI                                       master samples it asserted on the third                                       PCLK rising edge.                                                             When set to 0, the PPU samples DEVSEL                                         on the three PCLK rising edges                                                following the address cycle; If no                                            other PCI device has asserted DEVSEL                                          and the transaction is one the PPU can                                        accept, it will then assert DEVSEL                                            after the third PCLK rising edge so                                           that the PCI master samples it asserted                                       on the fourth PCLK rising edge.                               23-19                                                                             --          Reserved                                                      18  RTRYEXP R/W Retry counter expired. Indicates that                                         PPU was unable to complete a data                                             transfer while mastering before the                                           within the number of retries programmed                                       in the max retry count register. Write                                        a 1 to clear. Write of 0 has no effect.                       17  DPERRM  R/W Data Parity Error while Mastering. The                                        PPU sets this bit when a data parity                                          error occurs when the PPU is mastering                                        the PCI bus. This bit is different                                            from the MDPARERR(STS) bit in that                                            DPERRM may be set regardless of the                                           state of the PRSPEN(COMM) bit. Write a                                        1 to clear. Write of 0 has no effect.                         16          R/W Address parity error. Indicates that                                          PPU identified an address parity error                                        when not acting as a PCI master.                                              0 = Clear.                                                                    1 = No effect.                                                15-8                                                                              --          Reserved                                                      7-6 MAXRTRY1-0                                                                            R/W Maximum Retry Count. When the PPU                                             masters the PCI bus, it limits the                                            number of times it will retry a cycle                                         before giving up and informing the                                            FAST-AT controller that the cycle is                                          done.                                                                         MAXRTRY1                                                                             MAXRTRY0                                                                             Retries                                         __________________________________________________________________________                    0      0      No retry limit                                                  0      1      5 retries maximum                                               1      0      9 retries maximum                                               1      1      16 retries maximum                              5   PCLK33MHZ                                                                             R/W PCLK Speed. Indicates PCLK rate. Used                                         in conjunction with IDEFAST and XDFAST                                        to control the timing of accesses to                                          internal and external PPU-controlled                                          peripherals by dynamic SYSCLK table.                                          1 = PCLK running at > 25 MHZ but <                                            33.33 MHz                                                                     0 = PCLK running at x25 MHz                                   4   IDEFAST R/W Fast IDE access control. Controls                                             timing of accesses to the IDE drive.                                          The IOCHRDY input overrides this bit.                                         1 = Fast accesses to IDE drive                                                0 = Slow accesses to IDE drive                                3   XDFAST  R/W Fast General device access control.                                           Controlls timing of PCI slave accesses                                        to PPU-controlled devices other than                                          the IDE drive and PCI configuration                                           Registers                                                                     1 = Fast accesses to PPU-controlled                                           devices other than the IDE                                                    drive and PCI Configuration                                                   registers                                                                     0 = Slow accesses to PPU-controlled                                           devices other than the IDE                                                    drive and PCI Configuration registers                         2   GATMODEEN                                                                             R/W Guaranteed Access Time Mode Enable.                                           Selects a DMA transfer mode.                                                  1 = Guaranteed Access Time DMA Mode                                           0 = Short Latency DMA Mode                                    1   IORCVRYEN                                                                             R/W Extended Recovery Time Enable.                                                Controls the timing between two I/O                                           cycles to PPU FAST-AT bus peripherals.                                        0 = Use 6 SYSCLK's recovery delay.                                            1 = Use 2.5 SYSCLK's recovery delay.                          0   INTACKEN    Interrupt Acknowledge Response Enable.                                        Enables the PPU to respond to PCI                                             Interrupt Acknowledge Cycles.                                                 1 = PPU responds to PCI Interrupt                                             Acknowledge Cycles.                                                           0 = PPU does not respond to PCI                                               Interrupt Acknowledge Cycles.                                 __________________________________________________________________________

    ______________________________________                                        Programmable Chip Select Register 0 (PCS0)                                    Base Address (hex): 59-58                                                     Bit   Name      Access   Description                                          ______________________________________                                        15-2  GA15-2g   R/W      Base I/O address for PCS0 (selects a                                          4-byte region).                                      1     --                 Reserved                                             0     SELEN0    R/W      Select enable 0.                                                              1 = Enable PCS0 for 4-byte I/O                                                decoding.                                                                     0 = disable                                          ______________________________________                                    

    ______________________________________                                        Programmable Chip Select Register 1 (PCS1)                                    Base Address (hex): 5B-5A                                                     Bit   Name      Access   Description                                          ______________________________________                                        15-2  GA15-2    R/W      Base I/O address for PCS1                            1     --        R/W      Reserved                                             0     SELEN1    R/W      Select enable 1                                                               1 = Enable PCS1 for 4 byte I/O                                                decoding                                                                      0 = disable                                          ______________________________________                                    

    ______________________________________                                        PCI Arbiter Control (PAC)                                                     Base Address (hex): 60                                                        Bit  Name      Access  Description                                            ______________________________________                                        7-5  SM7-5     R/W     Super agent selector:                                               SM7  SM6    SM5    Super Agent                                   ______________________________________                                                     0    0      0      None                                                       0    1      0      Master 1                                                   0    1      1      Master 2                                                   1    0      0      Master 3                                                             All other states are Reserved.                         4    HOLDSEL   R/W     Defines pin 8 and 9.                                                          1 = Pin 8 is MPUREQ, and pin 9 is                                             MPUGNT                                                                        0 = Pin 8 is HLDA, and pin 9 is HOLD                   3-1                    Reserved                                               0    ARBEN     R/W     Arbiter enable:                                                               1 = Enable arbiter                                                            0 = disable (CPU is always master)                     ______________________________________                                    

    ______________________________________                                        Miscellaneous Register (MISC)                                                 Base Address (hex): A8                                                        Bit  Name      Access  Description                                            ______________________________________                                        7    KBCSNPEN  R/W     1 = enable port 92 functions                                                  0 = disable port 92 functions                          6    ELINDEX   R/W     PCU index data:                                                               1 = PCU index data at 3E2h, 3E3h                                              0 = 3E0h, 3E1h for shadowing purpose                   5-4  KBCLK1-0  R/W     Select keyboard clock frequency:                                    KBCLK1 KBCLK0   Frequency                                        ______________________________________                                                     0      0        4 MHz                                                         0      1        8 MHz                                                         1      0        12 MHz                                                        1      1        16 MHz                                           3    XQUIET    R/W    X-bus and IDE interface quiet:                                                1 = Quiet when no access                                                      0 = Reflects internal write bus                         2    VPPEN     R/W    Enable VPP output:                                                            1 = VPP output is active                                                      0 = VPP output is inactive                              1-0  --        R      Reserved                                                ______________________________________                                    

    ______________________________________                                        Floppy Configuration Register (FCR)                                           Base Address (hex): 71                                                        Bit  Name     Access  Description                                             ______________________________________                                        7    FDSEN    R/W     FDS Function Enable. Enables and                                              disables the FDS function within the                                          IPU. When disabled, the clock going to                                        the FDS is stopped and the inputs are                                         isolated.                                                                     0 = Disable.                                                                  1 = Enable.                                             6    FDCEN    R/W     FDC function enable. Enables and                                              disables the FDC function within the                                          PPU. When disabled, the clock going to                                        the FDC is stopped, the inputs are                                            isolated, the outputs are in a                                                low-power default state, and control                                          registers Within the FDC are not                                              accessible.                                                                   0 = Disable                                                                   1 = Enable                                              5    FDCRST   R/W     FDC hard reset. This bit places the FDC                                       function in a reset mode. While in                                            reset mode, all FDC outputs from the                                          PPU are three-stated while FDC outputs                                        within the PPU go to a quiet bus state,                                       and the FDC control registers are reset                                       to their default values. When the RESET                                       state is exited, the outputs will go to                                       the inactive default state. The FDC                                           configuration register bits are not                                           reset by this bit.                                                            0 = Not in software-controlled reset.                                         1 = In software-controller reset.                       4-0  --       R       Reserved (Read as 0).                                   ______________________________________                                    

    ______________________________________                                        Integrated Drive Electronics (IDE) Configuration Register                     Base Address (hex): 72                                                        Bit  Name     Access  Description                                             ______________________________________                                        7    IDEEN    R/W     IDE interface enable. This bit enables                                        and disables the IDE interface function                                       within the PPU. When disabled, the                                            inputs are isolated and the outputs are                                       in a low-power default state.                                                 0 = Disable.                                                                  1 = Enable.                                             6    IDERST   R/W     IDE hard reset. This bit controls the                                         RST line going to the IDE drive.                                              0 = RST not in software-controlled                                            reset.                                                                        1 = RST signalling software-controlled                                        reset.                                                  5-0  --       R       Reserved (Read as 0).                                   ______________________________________                                    

    ______________________________________                                        Serial Interface Configuration Register (SIF)                                 Base Address (hex): 74                                                        Bit  Name    Access  Description                                              ______________________________________                                        7    SIFEN   R/W     Serial interface enable. This bit                                             enables and disables the serial port                                          function within the PPU. When disabled,                                       the clock going to the serial port is                                         stopped, the inputs are isolated and                                          the outputs are in a low-power default                                        state. Control registers within the                                           serial port are not accessible when it                                        is disabled.                                                                  0 = Disable.                                                                  1 = Enable.                                              6    SRST    R/W     Serial interface hard reset. This bit                                         places the serial port function in hard                                       reset mode. Write a 0 to SRST will                                            leave the reset mode.                                                         0 = Not in reset mode.                                                        1 = In reset mode.                                       5    SCLK    R/W     Serial interface clock frequency                                              select. This bit selects the serial                                           interface clock frequency.                                                    0 = 1.8461 MHz.                                                               1 = 8 MHz.                                               4-0  --      R       Reserved (Read as 0).                                    ______________________________________                                    

    ______________________________________                                        Parallel Interface Configuration Register (PIF)                               Base Address (hex): 78                                                        Bit  Name       Access  Description                                           ______________________________________                                        7    PIFEN      R/W     Parallel interface enable. This bit                                           enables and disables the parallel port                                        function within the PPU. When dis-                                            abled, the clock going to the parallel                                        port is stopped, the inputs are isolated,                                     and the out-puts are in a low-power                                           default state.                                                                0 = Disable.                                                                  1 = Enable.                                           6    PIFRST     R/W     Parallel interface hard reset. This bit                                       places the parallel port in hard reset                                        mode.                                                                         0 = Not in reset mode.                                                        1 = In reset mode.                                    5    PIFFDC     R/W     Parallel interface FDC select bit. This                                       bit multiplexes the FDC drive interface                                       signals to the parallel port pins so                                          that a floppy drive can be plugged into                                       the parallel port.                                                            0 = Select normal parallel port pins                                          1 = Multiplex FDC signals to parallel                                         port pins.                                            4    --         R       Reserved (Read as 0).                                 3-0  FIFOTRLD3-0                                                                              R/W     ECP 16-byte data FIFO threshold                                               definition.                                           ______________________________________                                    

    ______________________________________                                        ROM Chip Select Configuration Register (RCS)                                  Base Address (hex): 81                                                        Bit  Name    Access  Description                                              ______________________________________                                        15   --      R       Reserved (Read as 0).                                    14   4GB     R/W     RCS below 4 GB Enable. This bit enables                                       ROMCS accesses to the addresses just                                          below the 4 GB address (FFFC 0000-                                            FFFF FFFFh).                                                                  0 = ROM not at FFFC 0000-FFFF FFFFh.                                          1 = ROM at FFFC 0000-FFFF FFFFh.                         13   1MB     R/W     RCS below 1 MB Enable. This bit enables                                       ROMCS accesses to the addresses just                                          below the 1 MB address (000C 0000-                                            000F FFFFh.                                                                   0 = ROM not at 000C 0000-000F FFFFh.                                          1 = ROM at 000C 0000-000F FFFFh.                         12   RCSF8   R/W     RCS for xxxF 8000-xxxF FFFFh. This                                            bit enables ROMCS accesses to xxxF 8000-                                      xxxF FFFFh.                                                                   0 = Accesses disabled.                                                        1 = Accesses enabled.                                    11   RCSF0   R/W     RCS for xxxF 0000-xxxF 7FFFh Enable.                                          This bit enables ROMCS accesses to xxxF                                       0000-xxxF 7FFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    10   RCSE8   R/W     RCS for xxxE 8000-xxxE FFFFh Enable.                                          This bit enables ROMCS accesses to xxxE                                       8000-xxxE FFFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    9    RCSE0   R/W     RCS for xxxE 0000-xxxE 7FFFh Enable.                                          This bit enables ROMCS accesses to xxxE                                       0000-xxxE 7FFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    8    RCSDC   R/W     RCS for xxxD C000-xxxD FFFFh Enable.                                          This bit enables ROMCS accesses to xxxD                                       C000-xxxD FFFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    7    RCSD8   R/W     RCS for xxxD 8000-xxxD BFFFh Enable.                                          This bit enables ROMCS accesses to xxxD                                       8000-xxxD BFFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    6    RCSD4   R/W     RCS for xxxD 4000-xxxD 7FFFh Enable.                                          This bit enables ROMCS accesses to xxxD                                       4000-xxxD 7FFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    5    RCSD0   R/W     RCS for xxxD 0000-xxxD 3FFFh Enable.                                          This bit enables ROMCS accesses to xxxD                                       0000-xxxD 3FFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    4    RCSCC   R/W     RCS for xxxC C000-xxxC FFFFh Enable.                                          This bit enables ROMCS accesses to xxxC                                       C000-xxxC FFFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    3    RCSC8   R/W     RCS for xxxC 8000-xxxC BFFF(h)                                                Enable. This bit enables ROMCS accesses                                       to xxxC 8000-xxxC BFFFh.                                                      0 = Accesses disabled.                                                        1 = Accesses enabled.                                    2    RCSC6   R/W     RCS for xxxC 6000-xxxC 67FFh VROM                                             hole En. This bit enables ROMCS                                               accesses to xxxC 6000-xxxC 67FFh.                                             0 = Accesses disabled.                                                        1 = Accesses enabled.                                    1    RCSC4   R/W     RCS for xxxC 4000-xxxC 7FFFh not VROM                                         En. This bit enables ROMCS accesses to                                        xxxC 4000-xxxC 7FFFh excluding the                                            Video ROM hole at xxxC 6000-xxxC                                              67FFh.                                                                        0 = Accesses disabled.                                                        1 = Accesses enabled.                                    0    RCSC0   R/W     RCS for xxxC 0000-xxxC 3FFFh Enable.                                          This bit enables ROMCS accesses to xxxC                                       0000-xxxc 3FFFh.                                                              0 = Accesses disabled.                                                        1 = Accesses enabled.                                    ______________________________________                                    

    ______________________________________                                        Shadow Index Register (SHDNDX)                                                Base Address (hex): 90                                                        Bit  Name       Access  Description                                           ______________________________________                                        7-0  SHDNDX7-0  R/W     Index that selects which shadowed data                                        is accessed via a read to SHDDATA                                             register.                                             ______________________________________                                    

    ______________________________________                                        Shadow Data Register (SHDDATA)                                                Base Address (hex): 91                                                        Bit  Name       Access  Description                                           ______________________________________                                        7-0  SHDDATA7-0 R/W     Data port for reading shadowed register                                       information. SHDNDX must be written                                           before reading SHDDATA to select the                                          required data.                                        ______________________________________                                    

    ______________________________________                                        PMU.sub.-- CNTRL Register                                                     The read-only bits in this register (bits 23-16)                              can be cleared by a write to this register.                                   Base Address = 0A0h-0A2h                                                      Bit  Name       Access  Description                                           ______________________________________                                        23   SUSPOK     R       High level on this bit indicates a                                            successful suspend. (Used to                                                  distinguish between resume and power                                          up.)                                                  22   SRBTNRSM   R       Resumed by the suspend/resume button.                 21   OBTNRSM    R       Resumed or powered up by the on/off                                           button.                                               20   ALARMRSM   R       Resumed or powered up by RTC alarm.                   19   RINGRSM    R       Resumed by modem ring.                                18   KBMSRSM    R       Resumed by keystroke or mouse                                                 interrupts.                                           17   CRDSMIRSM  R       Resumed by the CRDSMI input from                                              PCU.                                                  16   BATLOWRSM  R       Resumed by a low-to-high transition on                                        the BATLOW input.                                     15   --                                                                       14   VCCDRV5V   R/W     If VCCDK (VCC for disk) is powered                                            by 5-V VCC, this bit should be set to 1                                       in order to make IDE and FDC resets a                                         function of PWRGOOD5.                                 13   VCCXD5V    R/W     If VCCXD (VCC for XD bus) is                                                  powered by 5V VCC, this bit should be                                         set to 1 in order to make RSTXD a                                             function of PWRGOOD5.                                 12   PCION5V    R/W     If any PCI device is powered by 5V,                                           this bit should be set to 1 in order to                                       make PCI reset a function of                                                  PWRGOOD5.                                             11-9 --                                                                       8    ENPMU      R/W     Enable all power management features.                 7-5                                                                           4    TEMPRDY    R/W     This bit is used to control the state                                         flow when a system event (as defined                                          in MASK.sub.-- SYSTEM register) occurs                                        in the STANDBY state.                                                         1 = Go to TEMPORARY state                                                     0 = Go to READY state                                 3    --                                                                       2--1 STATE1--0  R/W     When read, these bits indicate the                                            current power state:                                                STATE1 STATE0   State                                           ______________________________________                                                      X      0        READY                                                         X      1        STANDBY                                                       The system software or user can change                                        the current power state by writing to                                         these bits:                                                                   STATE1 STATE0   State                                           ______________________________________                                                      0      0        Ready                                                         0      1        STANDBY                                                       1      0        SUSPEND                                                       1      1        OFF                                             0    SUSPSEL    R/W     Select 0-V or 5-V SUSPEND state, to                                           be used in conjunction with the above                                         STATE bits.                                                                   0 = Select 0-V SUSPEND state                                                  1 = Select 5-V SUSPEND state                          ______________________________________                                    

    ______________________________________                                        MASK.sub.-- RESUME Register                                                   Base Address = 0A4h                                                           Bit  Name        Access  Description                                          ______________________________________                                        7    INBLRES     R/W     If this bit is set while the system is                                        in SUSPEND state and the BATLOW                                               input is active the system cannot be                                          resumed. When cleared, forces                                                 ONBTN and SRBTN input pullups                                                 to be enabled.                                       6    RMSKOBTN    R/W     When set, mask the On/Off button                                              input from resuming the system from                                           0-V suspend or 5-V suspend.                          5    --          R/W     Reserved                                             4    RMSKALARM   R/W     Mask the RTC alarm input from                                                 resuming the system from 0-V                                                  suspend, 5-V suspend, or power up.                   3    RMSKRING    R/W     Mask the modem ring input from                                                resuming the system from 5-V                                                  suspend.                                             2    RMSKKBMS    R/W     Mask the keystroke or the mouse                                               interrupts from resuming the system                                           from 5-V suspend.                                    1    RMSKCRDSMI  R/W     Mask the SMI of PCMCIA                                                        (CRDSMI) from resuming the system                                             from 5-V suspend.                                    0    BLRES       R/W     If this bit is set to 1, a low-to-high                                        transition on BATLOW will resume                                              the system from 5-V suspend.                                                  (INBLRES bit must be reset to 0.)                    ______________________________________                                    

    ______________________________________                                        SOURCE.sub.-- SMI Register                                                    Base Address = 0A8h-0AAh                                                      Bits in this register indicate which event                                    triggered the SMI. These bits can be cleared by                               a write to this register, or set by power                                     management software of FIG. 46.                                               Bit  Name       Access  Description                                           ______________________________________                                        23   SWSMIR     R       This bit indicates that an SMI is                                             generated by software.                                22   --                                                                       21   TRPIDE     R       An IDE I/O is trapped.                                20   TRPFDD     R       A FDD I/O is trapped.                                 19   TRPCOM1    R       A serial port (COM1) I/O is trapped.                  18   TRPLPT1    R       A parallel port (LPT1) I/O is                                                 trapped.                                              17   TRPPCS0    R       A programmable chip select (PCS0) is                                          trapped.                                              16   TRPPCS1    R       A programmable chip select (PCS1) is                                          trapped.                                              15   BATLOW     R       An SMI is generated by a high-to-low                                          transition of the BATLOW input which                                          will set this bit.                                    14   ONOFFBTN   R       This bit indicates that an SMI is                                             generated by the ONBTN input.                         13   SUSPBTN    R       This bit indicates that an SMI is                                             generated by the SRBTN input.                         12   GPSMI      R       This bit indicates that an SMI is                                             generated on the GPSMI pin.                           11   CRDSMI     R       This bit indicates that an SMI is                                             generated on the PCMCIASMI                                                    CRDSMI.                                               10   PERIODICSMI                                                                              R       This bit indicates that a periodic SMI                                        is generated in the STANDBY state.                    9-7  --                                                                       6    STDBYTO    R       An SMI is generated by the STANDBY                                            timer timed out.                                      5    SUSPTO     R       An SMI is generated by the SUSPEND                                            timer timed out.                                      4    VGATO      R       An SMI is generated by the VGA timer                                          timed out.                                            3    IDETO      R       An SMI is generated by the IDE timer                                          timed out.                                            2    FDDTO      R       An SMI is generated by the FDD timer                                          timed out.                                            1    SIUTO      R       An SMI is generated by the                                                    Serial/Parallel timer timed out.                      0    PCSTO      R       An SMI is generated by the                                                    programmable chip select (s) timer                                            timed out.                                            ______________________________________                                    

    ______________________________________                                        MASK.sub.-- SMI Register                                                      Base Address = 0ACh-0AEh                                                      Bit  Name        Access  Description                                          ______________________________________                                        23   SWSMIW      W       A write to this bit will generate an                                          SMI.                                                 22   --                                                                       21   MSKTRPIDE   R/W     Mask the SMI generated by the IDE                                             I/O trap.                                            20   MSKTRPFDD   R/W     Mask the SMI generated by the FDD                                             I/O trap.                                            19   MSKTRPCOM1  R/W     Mask the SMI generated by the                                                 COM1 I/O trap.                                       18   MSKTRPLPT1  R/W     Mask the SMI generated by the LPT1                                            I/O trap.                                            17   MSKTRPPCS0  R/W     Mask the SMI generated by the PCS0                                            trap.                                                16   MSKTRPPCS1  R/W     Mask the SMI generated by the PCS1                                            trap.                                                15   MSKBATLOW   R/W     Mask the SMI generated by the                                                 BATLOW input.                                        14   MSKONBTN    R/W     Mask the SMI generated by toggling                                            the On/Off button.                                   13   MSKSUSPBTN  R/W     Mask the SMI generated by toggling                                            the Suspend/Resume button.                           12   MSKGPSMI    R/W     Mask the SMI generated by the                                                 GPSMI input pin.                                     11   MSKCRDSMI   R/W     Mask the SMI generated by the                                                 PCMCIASMI CRDSMI.                                    10   MSKPRDSMI   R/W     Mask the periodic SMI in the                                                  STANDBY state. When this bit is not                                           set, a periodic SMI is generated and                                          wakes up the system by enabling the                                           MSKCLK output to CPU; if it is set                                            to 1, the task is performed by System                                         Timer 0, which generates an IRQ0                                              every 55 ms.                                         9-8  SMIPRD1-0   R/W     Set the time period between two                                               successive periodic SMI's.                                          SMIPRD1                                                                              SMIPRD0  Time period                                    ______________________________________                                                       0      0        125 ms                                                        0      1        250 ms                                                        1      0        500 ms                                                        1      1        1 second                                       7    --                                                                       6    MSKSTDBYTO  R/W     Mask the SMI generated by the                                                 STANDBY timer timed out.                             5    MSKSUSPTO   R/W     Mask the SMI generated by the                                                 SUSPEND timer timed out.                             4    MSKVGATO    R/W     Mask the SMI generated by the VGA                                             timer timed out.                                     3    MSKIDETO    R/W     Mask the SMI generated by the IDE                                             timer timed out.                                     2    MSKFDDTO    R/W     Mask the SMI generated by the FDD                                             timer timed out.                                     1    MSKSIUTO    R/W     Mask the SMI generated by the SIU                                             timer timed out.                                     0    MSKPCSTO    R/W     Mask the SMI generated by the                                                 programmable chip-select timer timed                                          out.                                                 ______________________________________                                    

    ______________________________________                                        MASK.sub.-- SYSTEM Register                                                   Base Address = 0B0h-0B3h                                                      Bits in this register are used to mask system                                 events which are not intended to be monitored by                              the STANDBY and the SUSPEND timers. When a bit is                             set to 1 that particular event will be masked.                                Bit   Name       Access  Description                                          ______________________________________                                        31-30 --                                                                      29    STDBYPCI   R/W     Mask PCI events (form the                                                     DEVSEL input) off the STANDBY                                                 timer event monitoring.                              28    STDBYCSI   R/W     Mask PCMCIA card service                                                      interrupts off the STANDBY timer                                              event monitoring.                                    27    STDBYVGA   R/W     Mask VGA events (from VGA chip                                                select) off the STANDBY timer event                                           monitoring.                                          26    STDBYDMA   R/W     Mask DMA requests off the                                                     STANDBY timer event monitoring                       25    STDBYIDE   R/W     Mask IDE events off the STANDBY                                               timer event monitoring.                              24    STDBYFDD   R/W     Mask FDD events off the STANDBY                                               timer event monitoring.                              23    STDBYPCS0  R/W     Mask the first programmable chip                                              select (PCS0) events off the                                                  STANDBY timer event monitoring.                      22    STDBYPCS1  R/W     Mask the second programmable chip                                             select (PCS1) events off the                                                  STANDBY timer event monitoring.                      21    STDBYCOM1  R/W     Mask COM1 events (COM1CS +                                                    IRQ for COM1) off the STANDBY                                                 timer event monitoring.                              20    STDBYLPT1  R/W     Mask LPT1 events (LPT1CS +                                                    IRQ7) off the STANDBY timer event                                             monitoring.                                          19    STDBYIRQ9  R/W     Mask IRQ9 off the STANDBY timer                                               event monitoring.                                    18    STDBYIRQ10 R/W     Mask IRQ10 off the STANDBY                                                    timer event monitoring.                              17    STDBYIRQ11 R/W     Mask IRQ11 off the STANDBY                                                    timer event monitoring.                              16    STDBYIRQ15 R/W     Mask IRQ15 off the STANDBY                                                    timer event monitoring.                              15    --                                                                      14    SUSPKBMS   R/W     Mask keyboard and mouse interrupts                                            off the STANDBY timer event                                                   monitoring.                                          13    SUSPPCI    R/W     Mask PCI events off the STANDBY                                               timer event monitoring.                              12    SUSPCSI    R/W     Mask PCMCIA card service                                                      interrupts off the STANDBY timer                                              event monitoring.                                    11    SUSPVGA    R/W     Mask VGA events off the                                                       STANDBY timer event monitoring.                      10    SUSPDMA    R/W     Mask DMA requests off the                                                     STANDBY timer event monitoring.                      9     SUSPIDE    R/W     Mask IDE events off the STANDBY                                               timer event monitoring.                              8     SUSPFDD    R/W     Mask FDD events off the STANDBY                                               timer event monitoring.                              7     SUSPPCS0   R/W     Mask the first programmable chip                                              selece (PCS0) events off the                                                  STANDBY timer event monitoring.                      6     SUSPPCS1   R/W     Mask the second programmable                                                  chip select (PCS1) events off the                                             STANDBY timer event monitoring.                      5     SUSPCOM1   R/W     Mask the serial port (COM1) events                                            off the STANDBY timer event                                                   monitoring.                                          4     SUSPLPT1   R/W     Mask the parallel port (LPT1) events                                          off the STANDBY timer event                                                   monitoring.                                          3     SUSPIRQ9   R/W     Mask IRQ9 off the STANDBY                                                     timer event monitoring.                              2     SUSPIRQ10  R/W     Mask IRQ10 off the STANDBY                                                    timer event monitoring.                              1     SUSPIRQ11  R/W     Mask IRQ11 off the STANDBY                                                    timer event monitoring.                              0     SUSPIRQ15  R/W     Mask IRQ15 off the STANDBY                                                    timer event monitoring.                              ______________________________________                                    

    ______________________________________                                        MASK.sub.-- SIU.sub.-- VGA Register                                           Base Address = 0B4h                                                           Bit  Name       Access  Description                                           ______________________________________                                        7-6  --                                                                       5    MASKPCOM1  R/W     When the bit is set, COM1 chip select                                         and interrupt events will not affect                                          the SIU power control output.                         4    MASKPLPT1  R/W     When the bit is set, LPT1 chip select                                         and interrupt events will not affect                                          the SIU power control output.                         3-2  --                                                                       1    MASKPKBMS  R/W     When the bit is set, keyboard and                                             mouse interrupt events will not affect                                        the graphics (VGA frame buffer) idle                                          timer.                                                0    MASKPVGA   R/W     When the bit is set, VGA frame buffer                                         access events will not affect the                                             graphics idle timer.                                  ______________________________________                                    

    ______________________________________                                        SW.sub.-- PWR.sub.-- CNTL Register                                            Base Address = 0B8h                                                           Bits in the register will let the software,                                   instead of the hardware, control the power to                                 peripheral devices. When the odd-number bits in                               this register are reset to 0 (return control to                               hardware), the corresponding hardware timer will                              also be reset.                                                                Bit  Name       Access  Description                                           ______________________________________                                        7    SWCNTLIDE  R/W     Software control the IDE power output.                6    SWIDEPWR   R/W     1 = Turn on the IDE power output.                                             0 = Turn off the IDE power output.                    5    SWCNTLFDD  R/W     Software control the FDD power output.                4    SWFDDPWR   R/W     1 = Turn on the FDD power output.                                             0 = Turn off the FDD power output.                    3    SWCNTLSIU  R/W     Software control the SIU power output.                2    SWSIUPWR   R/W     1 = Turn on the SIU power output.                                             0 = Turn off the SIU power output.                    1    SWCNTLPCS  R/W     Software control the programmable                                             chip-select power output.                             0    SWPCSPWR   R/W     1 = Turn on the programmable                                                  chip-select power output.                                                     0 = Turn off the programmable                                                 chip-select power output.                             ______________________________________                                    

    __________________________________________________________________________    PMU.sub.-- TIMERS Register                                                    Base Address = 0BC-0BFh                                                       Bit Name    Access                                                                            Description                                                   __________________________________________________________________________    31-28                                                                             STDBYTMR3-0                                                                           R/W Set the time-out value of the STANDBY                                         timer.                                                                        STDBY                                                                             STDBY                                                                             STDBY                                                                             STDBY                                                             TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    2 Seconds                                                    0   0   1   0    6 Seconds                                                    0   0   1   1   10 Seconds                                                    0   1   0   0   14 Seconds                                                    0   1   0   1   18 Seconds                                                    0   1   1   0   22 Seconds                                                    0   1   1   1   26 Seconds                                                    1   0   0   0   30 Seconds                                                    1   0   0   1    1 Minute                                                     1   0   1   0    2 Minutes                                                    1   0   1   1    3 Minutes                                                    1   1   0   0    4 Minutes                                                    1   1   0   1    5 Minutes                                                    1   1   1   0   10 Minutes                                                    1   1   1   1   15 Minutes                                    27-24                                                                             SUSPTMR3-0                                                                            R/W Set the time-out value of the SUSPEND                                         timer.                                                                        SUSP                                                                              SUSP                                                                              SUSP                                                                              SUSP                                                              TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    1 Minute                                                     0   0   1   0    2 Minutes                                                    0   0   1   1    3 Minutes                                                    0   1   0   0    4 Minutes                                                    0   1   0   1    5 Minutes                                                    0   1   1   0    6 Minutes                                                    0   1   1   1    7 Minutes                                                    1   0   0   0    8 Minutes                                                    1   0   0   1    9 Minutes                                                    1   0   1   0   10 Minutes                                                    1   0   1   1   11 Minutes                                                    1   1   0   0   12 Minutes                                                    1   1   0   1   13 Minutes                                                    1   1   1   0   14 Minutes                                                    1   1   1   1   15 Minutse                                    23-20                                                                             TEMPTMR3-0                                                                            R/W Set the time-out value of the                                                 TEMPORARY timer.                                                              TEMP                                                                              TEMP                                                                              TEMP                                                                              TEMP                                                              TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1   30 ms                                                         0   0   1   0   60 ms                                                         0   0   1   1   90 ms                                                         0   1   0   0   120 ms                                                        0   1   0   1   150 ms                                                        0   1   1   0   180 ms                                                        0   1   1   1   240 ms                                                        1   0   0   0   360 ms                                                        1   0   0   1   480 ms                                                        1   0   1   0   720 ms                                                        1   0   1   1   960 ms                                                        1   1   0   0   1.92 ms                                                       1   1   0   1   3.84 ms                                                       1   1   1   0   7.68 ms                                                       1   1   1   1   15.36 ms                                      19-16                                                                             IDETMR3-0                                                                             R/W Set the time-out value of the IDE                                             timer.                                                                        IDE IDE IDE IDE                                                               TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    1 Minute                                                     0   0   1   0    2 Minutes                                                    0   0   1   1    3 Minutes                                                    0   1   0   0    4 Minutes                                                    0   1   0   1    5 Minutes                                                    0   1   1   0    6 Minutes                                                    0   1   1   1    7 Minutes                                                    1   0   0   0    8 Minutes                                                    1   0   0   1    9 Minutes                                                    1   0   1   0   10 Minutes                                                    1   0   1   1   11 Minutes                                                    1   1   0   0   12 Minutes                                                    1   1   0   1   13 Minutes                                                    1   1   1   0   14 Minutes                                                    1   1   1   1   15 Minutes                                    15-12                                                                             FDDTMR3-0                                                                             R/W Set the time-out value of the FDD                                             timer.                                                                        FDD FDD FDD FDD                                                               TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    1 Minute                                                     0   0   1   0    2 Minutes                                                    0   0   1   1    3 Minutes                                                    0   1   0   0    4 Minutes                                                    0   1   0   1    5 Minutes                                                    0   1   1   0    6 Minutes                                                    0   1   1   1    7 Minutes                                                    1   0   0   0    8 Minutes                                                    1   0   0   1    9 Minutes                                                    1   0   1   0   10 Minutes                                                    1   0   1   1   11 Minutes                                                    1   1   0   0   12 Minutes                                                    1   1   0   1   13 Minutes                                                    1   1   1   0   14 Minutes                                                    1   1   1   1   15 Minutes                                    11-8                                                                              SIUTMR3-0                                                                             R/W Set the time-out value of the SIUTMR                                          timer.                                                                        SIU SIU SIU SIU                                                               TMR3                                                                              TMR2                                                                              TMR1                                                                              TRM0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    1 Minute                                                     0   0   1   0    2 Minutes                                                    0   0   1   1    3 Minutes                                                    0   1   0   0    4 Minutes                                                    0   1   0   1    5 Minutes                                                    0   1   1   0    6 Minutes                                                    0   1   1   1    7 Minutes                                                    1   0   0   0    8 Minutes                                                    1   0   0   1    9 Minutes                                                    1   0   1   0   10 Minutes                                                    1   0   1   1   11 Minutes                                                    1   1   0   0   12 Minutes                                                    1   1   0   1   13 Minutes                                                    1   1   1   0   14 Minutes                                                    1   1   1   1   15 Minutes                                    7-4 PCSTMR3-0                                                                             R/W Set the time-out value of the PIO                                             timer.                                                                        PCS PCS PCS PCS                                                               TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    1 Minute                                                     0   0   1   0    2 Minutes                                                    0   0   1   1    3 Minutes                                                    0   1   0   0    4 Minutes                                                    0   1   0   1    5 Minutes                                                    0   1   1   0    6 Minutes                                                    0   1   1   1    7 Minutes                                                    1   0   0   0    8 Minutes                                                    1   0   0   1    9 Minutes                                                    1   0   1   0   10 Minutes                                                    1   0   1   1   11 Minutes                                                    1   1   0   0   12 Minutes                                                    1   1   0   1   13 Minutes                                                    1   1   1   0   14 Minutes                                                    1   1   1   1   15 Minutes                                    3-0 VGATMR3-0                                                                             R/W Set the time-out value of the VGA                                             timer.                                                                        VGA VGA VGA VGA                                                               TMR3                                                                              TMR2                                                                              TMR1                                                                              TMR0                                                                              Time Out                                      __________________________________________________________________________                    0   0   0   0   Disable                                                       0   0   0   1    1 Minute                                                     0   0   1   0    2 Minutes                                                    0   0   1   1    3 Minutes                                                    0   1   0   0    4 Minutes                                                    0   1   0   1    5 Minutes                                                    0   1   1   0    6 Minutes                                                    0   1   1   1    7 Minutes                                                    1   0   0   0    8 Minutes                                                    1   0   0   1    9 Minutes                                                    1   0   1   0   10 Minutes                                                    1   0   1   1   11 Minutes                                                    1   1   0   0   12 Minutes                                                    1   1   0   1   13 Minutes                                                    1   1   1   0   14 Minutes                                                    1   1   1   1    8 Seconds                                    __________________________________________________________________________

    __________________________________________________________________________    TONTOFF.sub.-- ADJ Register                                                   Base Address = 0C0h                                                           Bit 7 6     5     4     3     2     1     0                                   Name                                                                              --                                                                              TONTOFF6                                                                            TONTOFF5                                                                            TONTOFF4                                                                            TONTOFF3                                                                            TONTOFF2                                                                            TONTOFF1                                                                            TONTOFF0                            Default                                                                           0 0     1     1     1     1     1     1                                   __________________________________________________________________________    Bit     Name      Access  Description                                         __________________________________________________________________________    7       --                                                                    6-0     TONTOFF6-0                                                                              R/W     Set the CPU tun-on and turn-off                                               percentage in the STANDBY state. The                                          MASKCLK signal is always active when                                          all the bits in this register are set                                         to 1, and always inactive if all the                                          bits are reset to 0.                                __________________________________________________________________________

    ______________________________________                                        PWM.sub.-- INTNSTY Register                                                   Base Address = 0C4h                                                           Bit  Name     Access  Description                                             ______________________________________                                        7-4  --                                                                       3-0  PWM3-0   R/W     Set the 4-bit pulse-width-modulation                                          value for the LCD intensity adjustment.                                       (0h: Off; 0Fh: Full on)                                 ______________________________________                                    

    __________________________________________________________________________    VGA.sub.-- DECODE Register                                                    Base Address = 0C8h-0CBh                                                      This register defines the VGA standard frame                                  buffer area (located from 0A0000h to 0BFFFFh)                                 and linear frame buffer area (any where in                                    memory space aligned on a 1/2/4-Mbyte                                         boundary).                                                                    Bit Name    Access                                                                            Description                                                   __________________________________________________________________________    31-20                                                                             VGAA31-20                                                                             R/W VGA linear frame buffer base addresses                                        A31-A20.                                                      19-4                                                                              --                                                                        3-2 VGALFB1-0                                                                             R/W Set VGA linear frame buffer block size.                                       VGALFB1                                                                             VGALFB0                                                                             Block Size                                        __________________________________________________________________________                    0     0     Disabled                                                          0     1     1M bytes                                                          1     0     2M bytes                                                          1     1     4M Bytes                                          1-0 VGASFB1-0                                                                             R/W Set VGA standard frame buffer area.                                           VGASFB1                                                                             VGASFB0                                                                             Frame Buffer Area                                 __________________________________________________________________________                    0     0     Disabled                                                          0     1     0A0000h-0AFFFFh                                                   1     0     0B0000h-0BFFFFh                                                   1     1     0A0000h-0BFFFFh                                   __________________________________________________________________________

MASK₋₋ CPUCLK Register

Base Address=0CCh

A write to this register with any value in the STANDBY state willinactivate MASKCLK output and stop the clock to CPU core.

Shadow Registers

The shadow registers maintain the logic states when the system isresumed from suspend states.

    ______________________________________                                        Shadow Registers                                                              Shadow Registers                                                                             Width   Comments                                               ______________________________________                                        NMI Mask and RTC Address                                                                      8                                                             Register                                                                      DMA Channel 0 Base                                                                           16                                                             Register                                                                      DMA Channel 1 Base                                                                           16                                                             Register                                                                      DMA Channel 2 Base                                                                           16                                                             Register                                                                      DMA Channel 3 Base                                                                           16                                                             Register                                                                      DMA Channel 4 Base                                                                           16                                                             Register                                                                      DMA Channel 5 Base                                                                           16                                                             Register                                                                      DMA Channel 6 Base                                                                           16                                                             Register                                                                      DMA Channel 7 Base                                                                           16                                                             Register                                                                      DMA Channel 0 Word Count                                                                     16                                                             Register                                                                      DMA Channel 1 Word Count                                                                     16                                                             Register                                                                      DMA Channel 2 Word Count                                                                     16                                                             Register                                                                      DMA Channel 3 Word Count                                                                     16                                                             Register                                                                      DMA Channel 4 Word Count                                                                     16                                                             Register                                                                      DMA Channel 5 Word Count                                                                     16                                                             Register                                                                      DMA Channel 6 Word Count                                                                     16                                                             Register                                                                      DMA Channel 7 Word Count                                                                     16                                                             Register                                                                      DMA Controllers Mask                                                                          8      A bit for each channel indicates                       Register               if this channel is masked.                             DMA Channel 0 Mode                                                                            6                                                             Register                                                                      DMA Channel 1 Mode                                                                            6                                                             Register                                                                      DMA Channel 2 Mode                                                                            6                                                             Register                                                                      DMA Channel 3 Mode                                                                            6                                                             Register                                                                      DMA Channel 4 Mode                                                                            6                                                             Register                                                                      DMA Channel 5 Mode                                                                            6                                                             Register                                                                      DMA Channel 6 Mode                                                                            6                                                             Register                                                                      DMA Channel 7 Mode                                                                            6                                                             Register                                                                      Timer 1 Counter 0 Count                                                                      16                                                             Register                                                                      Timer 1 Counter 1 Count                                                                      16                                                             Register                                                                      Timer 1 Counter 2 Count                                                                      16                                                             Register                                                                      Interrupt Controller 1                                                                        5      The 3 least significant bits are                       ICW2                   ignored.                                               Interrupt Controller 1                                                                        7      The least significant bit (uPM)                        ICW4                   is always set to 1.                                    Interrupt Controller 1                                                                        8                                                             OCW1                                                                          Interrupt Controller 1                                                                        8                                                             OCW2                                                                          Interrupt COntroller 1                                                                        8                                                             OCW3                                                                          Interrupt Controller 2                                                                        5      The 3 least significant bits are                       ICW2                   ignored.                                               Interrupt Controller 2                                                                        3      Onlythe 3 least significant                            ICW3                   bits are used                                          Interrupt Controller 2                                                                        7      The least significant bit (uPM)                        ICW4                   is always set to 1.                                    Interrupt Controller 2                                                                        8                                                             OCW1                                                                          Interrupt Controller 2                                                                        8                                                             OCW2                                                                          Interrupt Controller 2                                                                        8                                                             OCW3                                                                          A write to a shadowed standard ISA register automatically                     updates the associated shadow register listed.                                FOr the interrupt controller in PPU, each channel has its own                 LTIM (Level Triggered Interrupt Mode) bit, which should be                    readable and writable, thus, there is no need for shadowing.                  For the master interrupt controller in PPU, ICW3 is always                    programmed as 04h (cascade only one slave interrupt                           controller, which connects to the IR2 input of the master                     interrupt controller). Hence, there is no need for shadowing.                 ______________________________________                                    

The PCU 112 is a PCMCIA Card Controller with PCI Interface as shown inFIG. 18 with the following exemplary features:

Two PCMCIA (Personal Computer Memory Card InternationalAssociation-compatible) slots with hot insertion/removal

Supports ATA interface

PCMCIA 2.1/JEIDA (Japan Electronics Industry Development Association)4.1 exchangeable card architecture compatible

Supports both 3.3-V and 5-V cards

Programmable interrupt routing

Programmable control of supply voltage Vcc and nonvolatile memoryprogramming voltage VPP for each card slot

Four-deep, 32-bit write buffer

Device selection (for cascading) done through PCI configurationregisters

Interrupt output can be configured to be edge triggered (ISA type) orlevel triggered

Exchangeable card architecture registers are mapped in both the PCIconfiguration space and I/O space

Extension registers mapped in the PCI interface 3.3-V PCI interface andcore logic

The PCU 112 interfaces two PC cards to the PCI bus 104. The PCU 112 corelogic and PCI interface are powered at 3.3 V. The card interfaces areselectively powered at the card VCC to support any combination of 3.3-Vand 5-V cards.

All card signals are individually buffered to allow hot insertion andremoval without external buffering. The PCU 112 is register compatiblewith the Intel E 82365SL-DF exchangeable card architecture ExCA (TM)controller and can be cascaded to support up to eight PC card slots. ThePCU internal datapath logic allows the host to access 8- and 16-bitcards using full 32-bit PCI cycles for maximum performance. Independent4-deep by 32-bit write buffers allow fast posted writes to improvesystem bus utilization.

A low-voltage, submicron CMOS process is utilized to achieve low systempower consumption while operating at PCI clock rates up to 33 MHz andhigher. A power-down mode allows host software to reduce powerconsumption further while preserving internal register contents andallowing PC cards to interrupt the host.

PCU 112 has a pin-out as shown in FIG. 57. PCU Signal TerminalDescriptions are tabulated next. Note that dual-function or multiplefunction pins use a "/" or parentheses () to indicate the varioussignals and features. Since the PCU can be used with remarkablydifferent kinds of cards, such as flash EEPROM memory cards and modemcards, the multiple functionality confers flexibility and economyadvantages.

    __________________________________________________________________________    PIN      I/O BUFFER                                                           NAME  NO.                                                                              TYPE                                                                              TYPE FUNCTION                                                    __________________________________________________________________________    PCI System Terminals                                                          PCLK  163                                                                              I   CMOS Bus Clock. Provides timing for all                                            transactions on the PCI bus.                                RSTIN 164                                                                              I   CMOS Reset. Forces the PCU to a known state.                     PCI Address and Data Terminals                                                AD31  166                                                                              I/O CMOS/                                                                              Address/data bus. During the address                        AD30  167                                                                              I/O 12 mA                                                                              phase of a PCI cycle, AD31-AD0 contain a                    AD29  168                                                                              I/O      32-bit address. During the data phase,                      AD28  169                                                                              I/O      AD31-AD0 contain data.                                      AD27  171                                                                              I/O                                                                  AD26  172                                                                              I/O                                                                  AD25  173                                                                              I/O                                                                  AD24  174                                                                              I/O                                                                  AD23  178                                                                              I/O                                                                  AD22  179                                                                              I/O                                                                  AD21  180                                                                              I/O                                                                  AD20  181                                                                              I/O                                                                  AD19  183                                                                              I/O                                                                  AD18  184                                                                              I/O                                                                  AD17  185                                                                              I/O                                                                  AD16  186                                                                              I/O                                                                  AD15  197                                                                              I/O                                                                  AD14  198                                                                              I/O                                                                  AD13  199                                                                              I/O                                                                  AD12  200                                                                              I/O                                                                  AD11  202                                                                              I/O                                                                  AD10  203                                                                              I/O                                                                  AD9   204                                                                              I/O                                                                  AD8   205                                                                              I/O                                                                  AD7   208                                                                              I/O                                                                  AD6    1 I/O                                                                  AD5    2 I/O                                                                  AD4    3 I/O                                                                  AD3    5 I/O                                                                  AD2    6 I/O                                                                  AD1    7 I/O                                                                  AD0    8 I/O                                                                  C/BE3 175                                                                              I   CMOS Bus commands C and byte enables BE are                      C/BE2 187                                                                              I        multiplexed on these PCI pins. During                       C/BE1 196                                                                              I        the address phase, C/BE3-C/BE0 define                       C/BE0 207                                                                              I        the bus command. During the data phase,                                       C/BE3-C/BE0 are used as byte enables.                                         The byte enables determine which byte                                         lanes carry meaningful data. C/BE0                                            applies to byte 0, and C/BE3 to byte 3.                     PAR   194                                                                              O   12 mA                                                                              Parity. During the data phase of PCI                                          reads, the chip calculates even parity                                        across AD31-0 and C/BE3-0 and                                                 outputs the result on PAR.                                  PCI Interface Control Terminals                                               FRAME 188                                                                              I   CMOS Cycle frame. Driven by the current mas-                                       ter to indicate the beginning and dura-                                       tion of an access. FRAME is asserted to                                       indicate that a bus transaction is be-                                        ginning. While FRAME is asserted data                                         transfers continue. When FRAME is                                             deasserted the transaction is in the                                          final data phase.                                           TRDY  191                                                                              O   12 mA                                                                              Target ready. Indicates the PCUs ability                                      to complete the current data phase of                                         the transaction. TRDY is used in con-                                         junction with IRDY. A data phase is com-                                      pleted on any clock where both TRDY and                                       IRDY are sampled asserted. During a                                           read, TRDY indicates that valid data is                                       present on AD31-AD0. During a write, it                                       indicates that the PCU is prepared to                                         accept data. Wait cycles are inserted                                         until both IRDY and TRDY are asserted                                         together.                                                   IRDY  189                                                                              I   CMOS Initiator ready. Indicates the bus                                            master's ability to complete the current                                      data phase of the transaction. IRDY is                                        used in conjunction with TRDY. A data                                         phase is completed on any clock where                                         both IRDY and TRDY are sampled asserted.                                      During a write, IRDY indicates that val-                                      id data is present on AD31-AD0. During a                                      read, it indicates that the master is                                         prepared to accept data. Wait cycles are                                      inserted until both IRDY and TRDY are                                         asserted together.                                          STOP  193                                                                              O   12 mA                                                                              Stop. Indicates that the PCU is request-                                      ing the PCI bus master to stop the                                            current transaction.                                        DEVSEL                                                                              192                                                                              O   12 mA                                                                              Device select. When asserted, DEVSEL                                          indicates that the PCU has decoded its                                        address as the target of the current                                          access.                                                     IDSEL 176                                                                              I   CMOS Initialization device select. Selects                                         the PCU during configuration accesses.                                        This signal can be connected to one of                                        the upper 24 PCI bus 104 address lines.                     __________________________________________________________________________    PIN                                                                           NO.                                                                                 SLOT                                                                              SLOT                                                                              I/O BUFFER                                                      NAME  A   B   TYPE                                                                              TYPE FUNCTION                                               __________________________________________________________________________    PCMCIA PC Card Interface Controller (Slots A and B)                           BVD1  126 63  I   CMOS Battery voltage detect 1. Gener-                       (STSCHG)               ated by memory PC cards that                           (RI)                   include batteries. This signal is                                             used with BVD2 as an indication                                               of the condition of the batteries                                             on a memory PC card. Both BVD1                                                and BVD2 are kept high when the                                               battery is good. When BVD2 is low                                             and BVD1 is high, the battery is                                              weak and needs to be replaced.                                                When BVD1 is low, the battery is                                              no longer servicable and the data                                             in the memory PC card is lost.                                                (Status change). This signal is                                               used to alert the system to                                                   changes in the RDY/BSY, WP, or                                                BVD conditions of the I/O PC                                                  card.                                                                         (Ring indicate). This signal is                                               used by modem cards to indicate                                               ring detection.                                        BVD2  125 62  I   CMOS Battery voltage detect 2. Gener-                       (SPKR)                 ated by memory PC cards that                                                  include batteries. This signal is                                             used with BVD1 as an indication                                               of the condition of the batteries                                             on a memory PC card. Both BVD1                                                and BVD2 are kept high when the                                               battery is good. When BVD2 is low                                             and BVD1 is high, the battery is                                              weak and needs to be replaced.                                                When BVD1 is low, the battery is                                              no longer serviceable and the                                                 data in the memory PC card is                                                 lost.                                                                         (Speaker). This binary audio                                                  signal is an optional signal                                                  available only when the card and                                              socket have been configured for                                               the I/O interface. The audio                                                  signals from card A and B can be                                              combined by the PCU and output on                                             terminal SPKROUT.                                      CA25  110 48  O   2 mA Card address. Drives PC card                           CA24  108 46  O        address lines. CA25 is the                             CA23  106 44  O        most-significant bit.                                  CA22  104 42  O                                                               CA21  102 40  O                                                               CA20  100 38  O                                                               CA19   98 36  O                                                               CA18   95 33  O                                                               CA17   93 31  O                                                               CA16  103 41  O                                                               CA15  105 43  O                                                               CA14   99 37  O                                                               CA13   96 34  O                                                               CA12  107 45  O                                                               CA11   90 28  O                                                               CA10   86 23  O                                                               CA9    92 30  O                                                               CA8    94 32  O                                                               CA7   109 47  O                                                               CA6   111 49  O                                                               CA5   113 51  O                                                               CA4   114 52  O                                                               CA3   115 53  O                                                               CA2   118 56  O                                                               CA1   119 57  O                                                               CA0   120 58  O                                                               __________________________________________________________________________     *Terminal name is preceded with A.sub.--. As an example, the full name fo     terminal 126 is A.sub.-- BVD1. Terminal name is preceded with B.sub.--. A     an example, the full name for terminal 63 is B.sub.-- BVD1.              

    __________________________________________________________________________    PCU Signal Terminal Descriptions                                              PIN                                                                           NO.                                                                                 SLOT                                                                              SLOT                                                                              I/O BUFFER                                                      NAME  A   B   TYPE                                                                              TYPE FUNCTION                                               __________________________________________________________________________    PCMCIA PC Card Interface Controller (Slots A and B)                           IORD   89 27  O   2 mA I/O read. This signal is driven low                                           by the PCU to enable I/O PC card                                              data output during host I/O read                                              cycles.                                                IOWR   91 29  O   2 mA I/O write. This signal is driven                                              low by the PCU to strobe write data                                           into I/O PC cards during host I/O                                             write cycles.                                          OE     88 25  O   2 mA Output enable. This output is driv-                                           en low by the the PCU to enable                                               memory PC card data output during                                             host memory read cycles.                               REG   117 55  O   2 mA Attribute memory select. The REG                                              signal remains high for all common                                            memory accesses. When this signal                                             is asserted, access is limited to                                             attribute memory (OE or WE active)                                            and to the I/O space (IORD or IOWR                                            active). Attribute memory is a sep-                                           arately accessed section of card                                              memory and is generally used to re-                                           cord card capacity and other con-                                             figuration and attribute informa-                                             tion.                                                  WE/PRGM                                                                             101 39  O   2 mA Write enable/program. This output                                             signal is used for strobing memory                                            write data into memory PC cards.                                              This signal is also used for memory                                           PC cards that employ programmable                                             memory technologies.                                   RDY/BSY                                                                             122 60  I   CMOS Ready/busy. The ready/busy function                    (IREQ)                 is provided by the RDY/BSY signal                                             when the PC card and the host sock-                                           et are configured for the                                                     memory-only interface. This input                                             is driven low by the memory PC                                                cards to indicate that the memory                                             card circuits are busy processing a                                           previous write command. This signal                                           is set high when memory PC cards                                              are ready to accept a new data                                                transfer command.                                                             (Interrupt request). This signal is                                           asserted by an I/O PC card to indi-                                           cate to the host that a device on                                             the I/O PC card requires service by                                           the host software. The signal is                                              held at the inactive level when no                                            interrupt is requested.                                RESET 112 50  O   2 mA PC card reset. Forces a hard reset                                            to a PC card.                                          WAIT  123 61  I   CMOS Bus cycle wait. Driven by a PC card                                           to delay completion of the memory                                             or I/O cycle that is in progress.                      CIS3V 121 59  I   CMOS Card is 3.3 volt. This signal indi-                                           cates if the PC card can be powered                                           at 3.3 volts. Cards that can oper-                                            ate at 3.3 volts should assert                                                CIS3V. Cards that require 5 volts                                             do not supply an output signal to                                             drive the CIS3V input; therefore an                                           external pullup resistor is                                                   connected to CIS3V to prevent this                                            output from floating.                                  __________________________________________________________________________    Terminal name is preceded with A.sub.--. As an example, the full name         for                                                                           terminal 91 is A.sub.-- IOWR. Terminal name is preceded with B.sub.--. As     an                                                                            example, the full name for terminal 29 is B.sub.-- IOWR.                      PIN                                                                           NO.                                                                                 SLOT                                                                              SLOT                                                                              I/O BUFFER                                                      NAME  A   B   TYPE                                                                              TYPE FUNCTION                                               __________________________________________________________________________    PCMCIA PC Card Interface Controller (Slots A and B)                           WP    127 64  I   CMOS Write protect/Card is 16-bit port.                     IOIS16                 Reflects the status of the                                                    write-protect switch on memory PC                                             cards. For I/O cards, WP is used for                                          the 16-port (IOIS16) function.                                                The status of the signal can be read                                          in the interface status register.                                             (I/O is 16 bits) This signal is                                               sserted by the PC card when the                                               address on the bus corresponds to an                                          address to which the PC card re-                                              sponds, and the I/O port which is                                             addressed is capable of 16-bit ac-                                            cesses.                                                CD1    73 10  I   CMOS Card detect 1, Card detect 2. These                    CD2   128 65  I   CMOS terminals (CD1 and CD2) are                                                   connected to ground internally on                                             the PC card. When a PC card is                                                inserted into a socket, these                                                 signals are driven low. The signal                                            status is available by reading the                                            Interface Status Register.                             CE1    85 22  O   2 mA Card enable 1. CE1 enables even num-                   CE2    87 24  O        bered address bytes.                                                          Card enable 2. CE2 enables odd num-                                           bered address bytes.                                   CDATA15                                                                              84 21  I/O CMOS/                                                                              Card data. CDATA15 is the most sig-                    CDATA14                                                                              82 19  I/O 2 mA nificant bit.                                          CDATA13                                                                              79 16  I/O                                                             CDATA12                                                                              77 14  I/O                                                             CDATA11                                                                              75 12  I/O                                                             CDATA10                                                                             135 72  I/O                                                             CDATA9                                                                              133 69  I/O                                                             CDATA8                                                                              130 67  I/O                                                             CDATA7                                                                               83 20  I/O                                                             CDATA6                                                                               80 17  I/O                                                             CDATA5                                                                               78 15  I/O                                                             CDATA4                                                                               76 13  I/O                                                             CDATA3                                                                               74 11  I/O                                                             CDATA2                                                                              134 71  I/O                                                             CDATA1                                                                              132 68  I/O                                                             CDATA0                                                                              129 66  I/O                                                             GPI   136 148 I   CMOS General purpose input. This input                                             may be used for several purposes: an                                          active-low input indicating that the                                          card VPP line has reached the user                                            specified range, an input indicating                                          a pending card eject or insertion,                                            or as an input source for generating                                          card status-change interrupts.                         VPP.sub.-- PGM                                                                      142 146 O   2 mA VPP program. Enables the programming                                          voltage onto the card VPP terminal.                                           This terminal is mutually exclusive                                           with VPP.sub.-- VCC.                                   VPP.sub.-- VCC                                                                      141 145 O   2 mA VPP is VCC. Enables the socket VCC                                            supply onto the card VPP terminal.                                            This terminal is mutually exclusive                                           with VPP.sub.-- PGM.                                   VCC.sub.-- 3                                                                        140 144 O   2 mA VCC is 3.3 volt. Enables a 3.3-volt                                           supply onto the card VCC terminal.                                            This terminal is mutually exclusive                                           with VCC.sub.-- 5.                                     VCC.sub.-- 5                                                                        139 143 O   2 mA VCC is 5 volt. Enables a 5-volt sup-                                          ply onto the card VCC terminal. This                                          terminal is mutually exclusive with                                           VCC.sub.-- 3.                                          __________________________________________________________________________    Terminal name is preceded with A.sub.--. As an example, the full name         for                                                                           terminal 84 is A.sub.-- CDATA15. Terminal name is preceded with B.sub.--.     As an                                                                         example, the full name for terminal 21 is B.sub.-- CDATA15.                   PIN      I/O BUFFER                                                           NAME  NO.                                                                              TYPE                                                                              TYPE FUNCTION                                                    __________________________________________________________________________    Miscellaneous Signals                                                         TEST  150                                                                              I   CMOS Test. When asserted, the PCU enters                                      100 μA                                                                          test mode.                                                               pull                                                                          down                                                             SPKROUT                                                                             138                                                                              O   2 mA Speaker. This output carries the digi-                                        tal audio signal from the PC card.                          FDC.sub.-- D7                                                                       149                                                                              I   CMOS Floppy disk d7. This signal inputs data                                       bit 7 of the Digital Input Register of                                        the floppy-disk controller. This infor-                                       mation is latched only when the loca-                                         tion 3F7 (or 377) is read in the I/O                                          space.                                                      SMI   151                                                                              O   2 mA PCU SMI request. System management                                            interrupt is asserted.                                      IRQ3  152                                                                              O   4 mA Interrupt request 3, 4, 5, 7, 9, 10, 11, 12,                IRQ4  153                                                                              O        14, 15 signals indicate an interrupt                        IRQ5  154                                                                              O        request from one of the cards, routed                       IRQ7  155                                                                              O        by request type.                                            IRQ9  156                                                                              O                                                                    IRQ10 157                                                                              O                                                                    IRQ11 158                                                                              O                                                                    IRQ12 159                                                                              O                                                                    IRQ14 160                                                                              O                                                                    IRQ15 161                                                                              O                                                                    Power Supply Terminals                                                        VND   Note                                                                             I   --   Device ground terminals.                                          (1)                                                                     V.sub.CCE                                                                           137                                                                              I   --   Power supply terminal for control in-                                         terface.                                                    V.sub.CCP                                                                           Note                                                                             I   --   Power supply terminals for PCI inter-                             (2)         face and core logic.                                        V.sub.CCA                                                                           Note                                                                             I   --   Power supply terminals for card A.                                (3)                                                                     V.sub.CCB                                                                           Note                                                                             I   --   Power supply terminals for card B.                                (4)                                                                     __________________________________________________________________________     Notes:                                                                        1) Terminals 4, 18, 54, 81, 116, 147, 165, 177, 190, and 201 for ten          terminals total.                                                              2) Terminals 9, 26, 124, 162, 170, 182, 195, and 206 for eight terminals      total.                                                                        3) Terminals 97 and 131 for two terminals total. Terminals 35 and 70 for      two terminals total.                                                          4) Terminals 35 and 70 for two terminals total.                          

PCMCIA 2.1 provides a hardware and software interface standard forconnecting credit-card sized memory and I/O cards to personal computers.By implementing compliant card slots, PC makers allow customers to useindustry standard PCMCIA memory and I/O cards from many differentvendors. The PCMCIA 2.1 standard is an extension of the previous PCMCIA1.01 and JEIDA 4.1 standards.

PCMCIA cards can have two types of memory: 1) attribute memorycontaining card configuration registers and data, and 2) common memorythat is used by the application. Attribute memory contains the cardinformation structure (CIS) defined by PCMCIA 2.1 that is read by PCsystem software to determine the capabilities of the card. To allowapplications to access card memory, the PC card adapter supports awindow-mapping architecture wherein MPU 102 maps areas of card memoryinto unused areas of the PC memory space. At least five memory windowsare implemented for each card slot.

By reading the CIS the PC can determine if a card is memory only or isI/O capable. I/O cards interrupt the host. In FIG. 18, PCU card slothardware includes logic 1630 to route the single card interrupt outputto one of ten PC IRQn interrupt lines. I/O cards generally have a smallnumber of I/O ports which need to be mapped into the PC I/O space foraccess by device drivers and applications.

The PCU 112 is suitably designed to operate at 3.3 V with cardinterfaces powered at 3.3 V or 5 V. The card A and B interfaces haveseparate V_(cc), terminals that are connected to the card V_(cc). Thismeans that both 3.3-V and 5-V cards can be connected directly to the PCU(no external level shifting buffers are needed). Because the card V_(cc)terminals are completely independent, one card can be powered at 5Vwhile the other card is powered at 3.3V.

The PCU outputs two V_(cc) control signals VCC-3 and VCC-5 for each ofcards A and B that can be used to control external card power supplies.This allows software to dynamically change card and PCU card interfaceV_(cc) during device operation. The PCU control interface can also bepowered at 3.3V or 5V; however, this is normally hardwired in the systemand need not change dynamically although it can be programmed to do so.

In FIG. 18, the PCU interfaces directly to the PCI bus via block 1602with no external buffering. From a software standpoint the PCUoccupies 1) PCI configuration space, 2) I/O space, and 3) 3) memoryspace. The PCU implements a single PCI configuration space usingconfiguration registers 1616 with a standard 64-byte header region. Asto 2), the PCU maps index and data ports at I/O addresses 3E0, 3E1 (or3E2, 3E3). Host software can program PC card I/O windows at any byteboundary in the first 64 Kbytes of host I/O space. As to 3), hostsoftware can program PC card windows at any 4K-byte boundary in a16M-byte page of PCI memory space. The 16M-byte page is selected usingthe Memory Window Page register in PCI configuration space.

The PCU has all outputs valid within a predetermined maximum interval,(e.g. 11 nanoseconds) after PCI clock rising edges. The PCU usespositive address decode to determine if the PCI address falls within anyenabled card memory or I/O window or matches the I/O data/index portused to access the compatibility registers 1616. If a match is detectedthe PCU asserts DEVSEL at the start of a fourth clock cycle as amedium-speed peripheral.

The PCU forces a disconnect by asserting STOP and TRDY together during afirst data phase. PCU 112 signals a target abort for I/O cycles wherethe byte enables output by the bus master correspond to addressesoutside the decode hit range. In this case the PCU deasserts DEVSEL andasserts STOP together without asserting TRDY.

All valid PCI cycles that represent a hit to one of the card interfacesare translated to appropriate PCMCIA cycle(s). This includes 8-, 16-,and 32-bit read/wirite cycles, contiguous or split. Translation dependson the type of card and the card size. The next table shows the numberof PCMCIA cycles that will be generated for a given PCI cycle. Once thetranslation has been selected, the cycle is serialized to the PCMCIAcard.

PCMCIA Cycle Count for Given PCI Cycle

    ______________________________________                                        PCI Byte Enables        No. of PCMCIA Cycles                                  BE3    BE2      BE1    BE0    8-Bit Card                                                                           16-Bit Card                              ______________________________________                                        1      1        1      1      0      0                                        1      1        1      0      1      1                                        1      1        0      1      1      1                                        1      1        0      0      2      1                                        1      0        1      1      1      1                                        1      0        1      0      2      2                                        1      0        0      1      2      2                                        1      0        0      0      3      2                                        0      1        1      1      1      1                                        0      1        1      0      2      2                                        0      1        0      1      2      2                                        0      1        0      0      3      2                                        0      0        1      1      2      1                                        0      0        1      0      3      2                                        0      0        0      1      3      2                                        0      0        0      0      4      2                                        ______________________________________                                    

PCI cycles are aborted under two I/O cycle conditions, based on theaddress phase of the cycle. First, the BE3-0 bits can cause a cycle tobecome invalid. Since an I/O-window setup for each card has bytegranularity it is possible for an I/O cycle to stretch across windowboundaries once byte lanes have been enabled. For example, the firstword of a 32-bit PCI I/O cycle might be within an I/O-window boundary,but the second word could cross the boundary and not be mapped by thecard. In this case the cycle will aborted by the device using PCI buscycle abort protocol. This scenario is absent in memory cycles whichhave a 4K-byte window granularity.

Second, the internal state machine performs a check that compares BE3-0to AD1-0, and confirms the validity of the cycle (ie. the byte enablesagree with the lower two bits of the address). If inconsistency isdetected, the I/O cycle is invalid and is aborted.

In FIG. 18, PCU 112 block 1602 performs bus cycle conversion between thePCI bus 104 and the PCMCIA bus 1604 and generates all the card addressand control signals. When the MPU 102 reads or writes to an enabledmemory or I/O window, PCU block 1602 enables the appropriate cardinterface controller 1610 or 1612 and executes a PCMCIA read or writecycle.

PCMCIA 2.0 specifies that all cards, whether memory or I/O, when firstinserted behave as memory cards. This means that I/O cards do notinitially respond to I/O cycles and that they drive the dual-functionPCMCIA signal pins as memory card signals. After MPU 102 has read thecard information structure (CIS) from the card attribute memory itenables I/O capable cards by writing to an on-card Configuration OptionRegister, whereupon an I/O card drives the dual-function signal pins inthe I/O mode. PCU block 1602 interprets these card signals as eithermemory or I/O mode depending on the value of bit CTYPE in the Interruptand General Control register in block 1616.

PCU 112 supports an ATA interface defined by PCMCIA release 2.0 andcontains special logic for ATA Drive Address register b7. The standardPC/AT I/O address for the ATA hard disk Drive Address register is thesame as the address for the floppy disk Drive Status register if bothdrives are at the primary (3F7) or secondary (377) locations. Duringreads from this address the ATA drive supplies bits 6-0 and the floppydrive supplies bit 7, the disk change bit. In PC/AT computerarchitecture, the floppy and hard disks are connected to the samephysical data bus. The floppy disk acts to drive bit d7 and three-states(electrically floats) its outputs d6 through d0. The hard diskthree-states the d7 output but drives outputs d6 through d0. In a systemwith an ATA drive connected via PCMCIA and the floppy drive connected toa separate system peripheral bus, PCU 112 inputs d7 from the systemfloppy-disk controller and outputs d7 on the PCI bus during reads fromthe ATA Drive Address register. I/O addresses 3F7 and 377 are configuredas read only so that PCU 112 does not respond during writes to thefloppy disk. Both features are enabled by setting bit ATAEN in thespecial Miscellaneous Register in block 1616.

Turning to Power Down Mode, software sets b0 PWRDN in the Global Controlregister. In power-down mode all PCMCIA outputs and bidirectionals arethree-stated. These terminals are:

A₋₋ CA 25:0!, A₋₋ CDATA 15:0!, A₋₋ IORD, A₋₋ IOWR, A₋₋ REG, A₋₋ OE, A₋₋WE/PRGM,

A₋₋ RESET, A₋₋ CE1, A₋₋ CE2

B₋₋ CA 25:0!, B₋₋ CDATA 15:0!, B₋₋ IORD, B₋₋ IOWR, B₋₋ REG, A₋₋ OE, B₋₋

WE/PRGM,

B₋₋ RESET, B₋₋ CE1, B₋₋ CE2

All other terminals function as in normal operation. All internalregisters retain their contents and are fully accessible via PCI bus104. All card and status-change interrupts remain enabled. PCU 112responds to PCI card accesses but does not execute the cycles on thePCMCIA interface.

PCU 112 maps areas of card memory into the host memory space. Tenindependent memory windows with five dedicated to each of cards A and Bstart and stop on any 4K-byte address boundary above the first 64K bytesin host memory and can access 16-bit or 8 bit card memory. These fivewindows are defined by five (5) sets of six (6) registers per card inblock 1616 tabulated later hereinbelow as Memory-Window (0,1,2,3, or 4)Start/End/Offset Address Low/High Byte Registers. Programmable addressoffsets allow each window to be located anywhere in the 64M-byte cardmemory space whatever its position in host memory space.

Memory windows are mapped to either the card attribute or common memoryspaces. For cards A and B. MPU 102 suitably sets up one window to accessthe card information structure (CIS) located in attribute memory andanother window to access data stored in common memory.

Each memory window has the above-mentioned set of six internal registersassociated with it that define its size, location, offset, data width,and cycle attributes. Most of the register bits are used to program thehost memory-window start and end addresses and the card memory offset.The window start and end addresses are 14 bits long and correspond tohost address bits AD23 -12 to give a minimum window resolution of 4Kbytes. The offset address is 2 bits longer and corresponds to cardaddress bits CA25 -12.

The PCU also contains 2 page registers, 1 for each of card A and card B,that allow the memory windows to be located above the first 16M bytes ofsystem address space. The system address bits AD31-24 are compared withthe page register values, and if they match, PCU 112 memory-windowdecode logic is enabled. This allows the PCMCIA memory windows to belocated in any of the 256 separate 16M-byte pages that make up the 4 G(giga) byte PCI address space.

The start and end addresses for the window in card memory are calculatedby adding the offset to the host memory start and end addresses. Foreach host memory-window access the PCU adds the offset to the incominghost address to generate the correct 26-bit card address. A PCU adder inblock 1602 wraps around to zero at the top of the 64M-byte card addressspace to allow both positive and negative address offsets using 2scomplement arithmetic.

Also, PCU 112 maps areas of card I/O space into the host I/O space. Fourindependent I/O windows with two dedicated to each of cards A and Bstart and stop on any byte address boundary inside the first 64K bytesin host memory and can access 16-bit or 8-bit card ports.

To allow I/O remapping, cards should decode only the minimum number ofcard address lines required to address the number of I/O locations theyhave. This means that an I/O card with six I/O locations should decodeCA0, CAl, and CA2 and ignore all higher address bits. The PCMCIA INPACKsignal need not be supported by PCU 112 and I/O cards are accessed whenthe MPU 102 host I/O address falls inside the I/O start and end addressrange.

Each I/O window has a set of four internal registers (respectively, foreach card A and B in block 1616 tabulated later herein as I/O window(0,1) Start/End Low/High Byte Register. The registers define I/O windowsize, location, data width, and cycle attributes. Most of the registerbits are used to program the host I/O-window start and end addresses.The window start and end addresses are 16 bits long and correspond tohost address bits AD15-0 to give a minimum window resolution of 1 byte.

Turning to the subject of interrupts, as shown in FIG. 38, PCU 112generates three types of interrupts:

1) I/O card interrupts. PC cards, configured in I/O mode, output levelmode interrupts or pulse (edge) mode interrupts on PCMCIA terminalRDY/BSY (IREQ).

2) Status-change interrupts. These occur when card signalsRDY/BSY(IREQ), BVD1(STSCHG), BVD2(SPKR) or card detect lines CD1,CD2change state.

3) Ring Indicate. The ring indicate from PC modem cards can be used togenerate a System Management Interrupt SMI to wake up the host.

In I/O Card Interrupts, the PCU independently routes card A and B I/Ointerrupts to any of terminals IRQ3, 4, 5, 7, 9, 10, 11, 12, 14, or 15.The card interrupts on RDY/BSY (IREQ) can be level or pulse (edge) mode,depending on the type of card used. In both cases the card assertsRDY/BSY(IREQ) active low. In the case of level-mode interrupts the carddrives RDY/BSY (IREQ) low until the interrupt has been serviced by thehost. In the case of pulse-mode interrupts the card deassertsRDY/BSY(IREQ) after a fixed delay.

After device reset the PCU 112 is set up by default to invert theincoming card interrupt before outputting it on the selected IRQterminal. The IRQ terminal is active high and outputs a positive edgeinterrupt for PC-AT compatible hosts from active low card A or Bpulse-mode and level-mode interrupts on RDY/BSY(IREQ).

For host systems that support level-mode interrupts, the PCU card slotis programmed for mode by setting AIREQLM or BIREQLM in the GlobalControl register to disable the default interrupt inversion. The MPU 102is also programmed for level mode by setting bit LevIREQ in the cardConfiguration Option register. In this configuration IRQ is driven lowuntil the card A or B deasserts RDY/BSY(IREQ) following interruptservice.

The PCU 112 IRQ outputs are push-pull meaning that the interrupt linesare actively driven during both high-level and low-level output states.In systems that support shared level-mode interrupts, externalthree-state buffers are connected between the PCU and the sharedinterrupt line. The buffer data input and active-low enable are bothdriven by the selected IRQ to give an open-drain output for interruptsharing.

In Status Change Interrupts, the PCU independently and programmablyroutes card A and B status-change interrupts to any of terminals IRQ3,4, 5, 7, 9, 10, 11, 12, 14, 15 or to SMI. All interrupts can be outputas level or pulse mode. The events that can cause status-changeinterrupts depend on whether the card is configured as an I/O or memorycard. For I/O-configured cards the events that can be programmed to berecognized as a card status change (CSC) are: battery voltage detectinput, BVD1(STSCHG), low indicating a change in battery voltage, writeprotect, or ready/busy status.

For memory-configured cards the CSC events can be programmed for: one orboth of battery voltage detect inputs, BVD1(STSCHG) and/or BVD2(SPKR),low indicating battery deterioration, or ready/busy input,RDY/BSY(IREQ), transition indicating ready/busy status change.

For either I/O or memory cards: one or both card-detect inputs, CD1and/or CD2, transition indicating card insertion or removal

In the default pulse (edge) mode the IRQ outputs are driven active highas soon as a status change is detected. This provides MPU 112 with apositive edge to trigger an interrupt. For host system embodiments thatsupport level-sensitive interrupts, the PCU 112 is programmed for levelmode by setting CSCLM in the Global Control register. In this mode theselected IRQ is driven active low when a status change occurs.

To determine the source of any card status-change interrupt, MPU 102reads the flag bits in the Card Status Change register in PCU 112 (seenext table). The flags can either be cleared automatically by the readoperation itself, or explicitly by writing a 1 to the flag. This optionis controlled by bit XWBCSC in the Global Control register. When allflags have been cleared, the selected IRQ is returned to the inactivestate.

In FIG. 31, The system management interrupt (SMI) output is anopen-drain interrupt that is programmably used to signal card-statuschanges (CSC) or modem-ring detection to the host. Card status-changeinterrupts can be routed to SMI by setting bit SMIEN in the Interruptand General Control register. SMI is asserted active low when anycard-status change occurs and remains low until allstatus-change-interrupt flags have been cleared.

Modem-ring indicate is input on BVD1 (STSCHG) (RI) and used to generateSMI interrupts. The mechanism is enabled by setting bit CRIEN in theInterrupt and General Control register and setting bit RISMI in the TIMiscellaneous register. When BVE1 (STSCHG) (RI) goes from high to low,the ring indicate interrupt flag, RISTAT bit in the TI Miscellaneousregister, is set and SMI is asserted active low.

In FIG. 31, CSC flags are stored in CSC registers for cards A and B.These CSC flags are fed to the inputs of NAND gates 2672 or 2674 for therespective card A or B. If any of the CSC flags goes low, thecorresponding NAND gate 2672 or 2674 produces a high active output A₋₋CSC or B₋₋ CSC which are respectively fed to inputs of correspondingNAND gates 2676 and 2678. The SMIEN bits in the Interrupt and GeneralControl Registers for cards A and B are respectively fed tocorresponding second inputs of NAND gates 2676 and 2678. The output ofeach of the NAND gates 2676, 2678, and of two more NAND gates 2680 and2682 are all fed to four inputs of a NAND gate 2684 which supplies aninverter 2686 to produce the low-active SMI# output. A NAND gate 2688has one input connected to the output of NAND gate 2684 and a secondinput enabled by a test signal TESTZ, to produce an output SMIENZ#.

Two registers called TI Miscellaneous Registers for cards A and B haveRISTAT (Ring Indicator Status) and RISMI (Ring Indicator SMI) bits whichare fed to inputs of NAND gates 2680 and 2682 for cards A and B. CRIENenable bits in the A and B Interrupt and General control Registersrespectively enable the NAND gates 2680 and 2682.

Modem-ring indicate is input on BVD1(STSCHG)(RI) and used to generateSMI interrupts. The mechanism is enabled by setting bit CRIEN in theInterrupt and General Control register and setting bit RISMI in the TIMiscellaneous register. When BVD1(STSCHG)(RI) goes from high to low, thering indicate interrupt flag, RISTAT bit in the TI Miscellaneousregister, is set and SMI is asserted active low.

In FIG. 31, the described circuitry establishes advantageous systemflexibility by allowing system software to set the various flags andenables as may be desired by the system designer. The system managementinterrupt SMI circuitry on the PCU 112, PPU 110 and MPU 102, as well asthe display controller 114, recognizes that the different system powermanagement signals in particular areas of the system lend themselves tospecial groupings in which the logic circuitry can be concentrated orpartitioned onto the particular integrated circuit chips, with theresult of flexible and effective system management power control withremarkably few interconnections between chips. Put another way, thepartitioning of the SMI system among the chips of system 100 recognizesthat a multitude of power-management relevant signal sources can havetheir information condensed down to just one or a few pin-out signalsfor communication between the chips. In this way, the embodimentrealizes distributed power management functions in a flexible andinexpensive power management system.

In FIGS. 38 and 18, the PCU 112.1 allows I/O card interrupts and cardstatus-change (CSC) interrupts for card A and card B to be routed byselector logic 3810 in block 1630 to any of terminals IRQ3, 4, 5, 7, 9,10, 11, 12, 14, or 15. The routing is selected by programming theSINT3-0 and CINT3-0 fields in the Interrupt and General Control registerIGC and the Card Status Change Interrupt Configuration (ICR) register inblock 1616. These registers are duplicated for cards A and B. If morethan one interrupt is to be routed to the same IRQ terminal, the PCU112.1 logically combines them to produce a shared interrupt determineswhen PCU 112.1 determines whether the combined interrupt should be pulsemode (active high) or level mode (active low). The rule implemented in apreferred embodiment is that if any of the interrupts routed to an IRQare programmed to be level mode (active low) then all the interruptsrouted to this terminal will be level mode. In this case the interruptsare logically ANDed in logic 3810 of block 1630 to generate the IRQ.

In a typical PC system all I/O card and Card Status Change interruptswill probably be programmed as pulse (edge) mode (active high). In thiscase the interrupts are logically NORed to generate the IRQ, interruptsmay mask each other if the host is edge sensitive rather than levelsensitive. In an advantageous method the interrupt service routine forthe system polls all cards and PCU card status-change flags beforeterminating to check for new interrupts.

For systems that support level-mode interrupts, all I/O card and cardstatus-change interrupts routed to a common IRQ are suitably programmedas level mode. The I/O card interrupts from the card A or B are alsoprogrammed as level mode by setting bit LevIREQ in the cardConfiguration Option register. In this case the interrupts are logicallyANDed together to generate the composite level mode IRQ.

For systems requiring more than two PC card slots, multiple PCUs 112.0,112.1, 112.2 . . . 112.n of FIG. 38 are advantageously connected inparallel. To avoid I/O access conflicts the PCUs are assigned differentaddresses and index ranges. This is done by programming the IOSEL andDEVID bits in the special Initialization register in the ExtensionRegister group during system configuration as tabulated next. (TheInitialization Register bits are described later hereinbelow).

    ______________________________________                                        PCU                                                                           Device   IOSEL   DEVID     Index/  Index                                      Number   Bit     Bit       Data    Range                                      ______________________________________                                        112.0    0       0         3E0h/3E1h                                                                             00 h-3Fh                                   112.1    0       1         3E0h/3E1h                                                                             40 h-7Fh                                   112.2    1       0         3E2h/3E3h                                                                             00 h-3Fh                                   112.3    1       1         3E2h/3E3h                                                                             40 h-7Fh                                   ______________________________________                                    

To avoid index register bus conflicts between devices 112.0, 112.1,112.2 and 112.3, each PCU implements a special register shadowingscheme. Depending on how the IOSEL and DEVID bits are programed, the PCUwill either respond directly to index register accesses (devices 0 and2), or will passively shadow index writes without driving any PCIsignals (devices 1 and 3). When PCUs are added to a system the devicenumbers (encoded in IOSEL and DEVID) should be used in the sequence 0,1, 2, 3 or 2, 3, 0, 1 to ensure that one device always responds to indexregister accesses.

With several PCUs working in parallel, the device interrupt outputs aresuitably combined in FIG. 38 for connection to the interrupt controllerof FIG. 43. The SMI outputs are open drain and are connected directly ina wired OR arrangement with an external pullup. The device IRQ outputsaide push-pull and when configured in pulse mode (active high) are ORedtogether in an external PAL or logic chip. For host systems that supportshared level-mode interrupts, the multiple PCU:RQ outputs are paralleledusing external three-state buffers to implement common system interruptlines. The buffer data input and active-low enable are both driven bythe selected IRQ to give an open-drain output for interrupt sharing.

In FIG. 18, block 1602 or PCU 112, implements a single 256 byte PCIconfiguration space with a header region occupying the bottom 64 bytes.The PCU maps all registers in the next table into the top 128 bytes ofconfiguration space. Some of the remaining 64 bytes are used for thespecial Extension registers.

The MPU 102 accesses the PCU 112 configuration register space using PCIconfiguration read and write cycles. During the address phase of aconfiguration cycle, the host PCI bridge 716 asserts an address on linesAD31-11 of bus 104 depending on which device the MPU 102 wants toaccess. PCU input pin IDSEL is connected to the AD bus linecorresponding to the physical PCI device number assigned to the PCU.Address bits AD10-8 carry the functional PCI device number and areignored by the PCU which is a single-function device. Address bits AD7-2carry the doubleword address of any configuration register and aredecoded internally by the PCU 112.

In block 1602 of FIG. 18, a read/write 8-bit index register receives thebus 104 AD address for one of 256 locations in block 1616. Data goesfrom bus 104 to an 8-bit read/write data register. To access anyregister MPU 102 writes an index value to the index register and theneither reads or writes the data register.

The following table shows the index offset for each register inconfiguration block 1616 together with the corresponding address in PCIconfiguration space, followed by charts for the Extension Registers.

    ______________________________________                                                         Socket  Socket  Socket                                                                              Socket                                                  A       B       A     B                                                       PCI     PCI     Index Index                                  Name             Address Address Offset                                                                              Offset                                 ______________________________________                                        Identification and Revision                                                                    80      C0      00    40                                     register                                                                      Interface Status register                                                                      81      C1      01    41                                     Power and RESETDRV Control                                                                     82      C2      02    42                                     register                                                                      Interrupt and General Control                                                                  83      C3      03    43                                     register                                                                      Card Status Change register                                                                    84      C4      04    44                                     Card Status Change Interrupt                                                                   85      C5      05    45                                     Configuration register                                                        Address Window Enable register                                                                 86      C6      06    46                                     I/O-window Control register                                                                    87      C7      07    47                                     I/O-Window 0 Start-Address                                                                     88      C8      08    48                                     Low-Byte register                                                             I/O-Window 0 Start-Address                                                                     89      C9      09    49                                     High-Byte register                                                            I/O-Window 0 End-Address Low-                                                                  8A      CA      0A    4A                                     Byte register                                                                 I/O-Window 0 End-Address                                                                       8B      CB      0B    4B                                     High-Byte register                                                            I/O-Window 1 Start-Address                                                                     8C      CC      0C    4C                                     Low-Byte register                                                             I/O-Window 1 Start-Address                                                                     8D      CD      0D    4D                                     High-Byte register                                                            I/O-Window 1 End-Address Low-                                                                  8E      CE      0E    4E                                     Byte register                                                                 I/O-Window 1 End-Address                                                                       8F      CF      0F    4F                                     High-Byte register                                                            Memory-Window 0 Start-Address                                                                  90      D0      10    50                                     Low-Byte register                                                             Memory-Window 0 Start-Address                                                                  91      D1      11    51                                     High-Byte register                                                            Memory-Window 0 End-Address                                                                    92      D2      12    52                                     Low-Byte register                                                             Memory-Window 0 End-Address                                                                    93      D3      13    53                                     High-Byte register                                                            Memory-Window 0 Offset-Address                                                                 94      D4      14    54                                     Low-Byte register                                                             Memory-Window 0 Offset-Address                                                                 95      D5      15    55                                     High-Byte register                                                            Card Detect and General Control                                                                96      D6      16    56                                     Register register                                                             Reserved         97      D7      17    57                                     Memory-Window 1 Start-Address                                                                  98      D8      18    58                                     Low-Byte register                                                             Memory-Window 1 Start-Address                                                                  99      D9      19    59                                     High-Byte register                                                            Memory-Window 1 End-Address                                                                    9A      DA      1A    5A                                     Low-Byte register                                                             Memory-Window 1 End-Address                                                                    9B      DB      1B    5B                                     High-Byte register                                                            Memory-Window 1 Offset-Address                                                                 9C      DC      1C    5C                                     Low-Byte register                                                             Memory-Window 1 Offset-Address                                                                 9D      DD      1D    5D                                     High-Byte register                                                            Global Control register                                                                        9E      DE      1E    5E                                     Reserved         9F      DF      1F    5F                                     Memory-Window 2 Start-Address                                                                  A0      E0      20    60                                     Low-Byte register                                                             Memory-Window 2 Start-Address                                                                  A1      E1      21    61                                     High-Byte register                                                            Memory-Window 2 End-Address                                                                    A2      E2      22    62                                     Low-Byte register                                                             Memory-Window 2 End-Address                                                                    A3      E3      23    63                                     High-Byte register                                                            Memory-Window 2 Offset-Address                                                                 A4      E4      24    64                                     Low-Byte register                                                             Memory-Window 2 Offset-Address                                                                 A5      E5      25    65                                     High-Byte register                                                            Reserved         A6      E6      26    66                                     Reserved         A7      E7      27    67                                     Memory-Window 3 Start-Address                                                                  A8      E8      28    68                                     Low-Byte register                                                             Memory-Window 3 Start-Address                                                                  A9      E9      29    69                                     High-Byte register                                                            Memory-Window 3 End-Address                                                                    AA      EA      2A    6A                                     Low-Byte register                                                             Memory-Window 3 End-Address                                                                    AB      EB      2B    6B                                     High-Byte register                                                            Memory-Window 3 Offset-Address                                                                 AC      EC      2C    6C                                     Low-Byte register                                                             Memory-Window 3 Offset-Address                                                                 AD      ED      2D    6D                                     High-Byte register                                                            Reserved         AE      EE      2E    6E                                     Reserved         AF      EF      2F    6F                                     Memory-Window 4 Start-Address                                                                  B0      F0      30    70                                     Low-Byte register                                                             Memory-Window 4 Start-Address                                                                  B1      F1      31    71                                     High-Byte register                                                            Mernory-Window 4 End-Address                                                                   B2      F2      32    72                                     Low-Byte register                                                             Memory-Window 4 End-Address                                                                    B3      F3      33    73                                     High-Byte register                                                            Memory-Window 4 Offset-Address                                                                 B4      F4      34    74                                     Low-Byte register                                                             Memory-Window 4 Offset-Address                                                                 B5      F5      35    75                                     High-Byte register                                                            Reserved         B6      F6      36    76                                     Reserved         B7      F7      37    77                                     Reserved         B8      F8      38    78                                     Reserved         B9      F9      39    79                                     Reserved         BA      FA      3A    7A                                     Reserved         BB      FB      3B    7B                                     Reserved         BC      FC      3C    7C                                     Reserved         BD      FD      3D    7D                                     Reserved         BE      FE      3E    7E                                     Reserved         BF      FF      3F    7F                                     ______________________________________                                    

General Setup Registers

Identification and Revision Register

PCI Addresses (hex): Socket A:80 Offset (hex): Socket A:00

Socket B:C0 Socket B:40

System software tests this register to enable interface processes.

    ______________________________________                                        Bit     Name        Access    Description                                     ______________________________________                                        7-6     IFTYPE1-0   R         Hardwired to 10.                                5-4     --          R         Reserved.                                       3-0     COMP3-O     R         Hardwired to 0100.                              ______________________________________                                    

Interface Status Register

PCI Addresses (hex): Socket A:81 Offset(hex): SocketA:01

Socket B:C1 Socket B:41

The read-only interface status register provides the current status ofthe card A or B socket interface signals.

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7    GPI      R       VPP valid. Indicates the state of the GPI                                     pin.                                                                          0 = GPI pin is 1.                                                             1 = GPI pin is 0.                                       6    CPOWER   R       PC card power active. Indicates the current                                   power status of the socket.                                                   0 = Power to the socket is turned off.                                        1 = Power is provided to the socket. Outputs                                  VCC.sub.-- 5, VCC.sub.-- 3, VPP.sub.-- PGM,                                   VPP.sub.-- VCC                                                                are set according the Power Control Register                                  bits tabulated in the next chart.                       5    RDYBSY   R       Ready/Busy. Indicates the ready/busy condi-                                   tion of the PC card.                                                          0 = PC card is busy.                                                          1 = PC card is ready.                                   4    CWP      R       Memory write protect. Bit value is the logic                                  level of the WP signal on the memory PC                                       card interface.                                                               0 = WP input is 0. Card is read and write.                                    1 = WP input is 1. Card is read only.                                         However, memory write access to the slot                                      will not be blocked unless the write protect                                  bit in the associated Card Memory Offset                                      Address high-byte register is also set to one.          3    CD2      R       Card detect 2. With card detect 1 indicates                                   that a card is present in the socket and                                      fully seated.                                                                 0 = CD2 input is 1.                                                           1 = CD2 input is 0 (card inserted).                     2    CD1      R       Card detect 1. With card detect 2 indicates                                   that a card is present in the socket and                                      fully seated.                                                                 0 = CD1 input is 1.                                                           1 = CD1 input is 0 (card inserted).                     1-0  BVD2-1   R       Battery voltage detect 2 and 1. These bits                                    reflect the vaue of input pins BVD1                                           (STSCHG) and BVD2 (SPKR).                                           BVD2  BVD1    Battery Voltage                                     ______________________________________                                                    0     0       Battery dead.                                                   1     0       Battery dead.                                                   0     1       Battery replacement                                                           warning                                                         1     1       Battery good.                                       0    STS      R       For I/O PC cards, this bit indicates the                                      status of the STSCHG/RI signal from the PC                                    card when the ring indicate enable bit in                                     the interrupt and general control register                                    is set to 0.                                            ______________________________________                                    

Power and RESETDRV Control Register

PCI Addresses (hex): Socket A:82 Offset (hex): Socket A:02

Socket B:C2 Socket B:42

This read/write register controls the PC card power.

    __________________________________________________________________________    Bit                                                                              Name  Access                                                                            Description                                                      __________________________________________________________________________    7  COE   R/W Output enable.                                                                0 = PC Card outputs CADR25-0, CE1, CE2, IORD,                                 OE, REG, RESET, WE, DATA15-0 to 3-state                                       (floating)                                                                    1 = PC card outputs (as above) enabled                           6  --    R/W Reserved.                                                        5  AUTOPWR                                                                             R/W Auto power switch enable.                                                     0 = Automatic socket power switching dis-                                     abled.                                                                        1 = Automatic socket power switching en-                                      abled.                                                           4-3                                                                              VCC1-0                                                                              R/W VCC control bits. These bits control card                                     VCC using outputs VCC.sub.-- 5 and VCC.sub.-- 3.                              VPP1                                                                             VPP0                                                                             VPP.sub.-- PGM                                                                         VPP Voltage                                       __________________________________________________________________________                 0  0  0     0  No connect.                                                    0  1  0     0  Reserved                                                       1  0  1     0  5 V                                                            1  1  0     1  3.3 V                                             2  --    R/W Reserved.                                                        1-0                                                                              VPP1-0                                                                              R/W VPP control bits. These bits control card                                     VPP using outputs VPP.sub.-- PGM and VPP.sub.-- VCC.                          VPP1                                                                             VPP0                                                                             VPP.sub.-- PGM                                                                      VPP.sub.-- VCC                                                                      VPP Voltage                                    __________________________________________________________________________                 0  0  0     0     No connect                                                  0  1  0     1     5 V                                                         1  0  1     0     12 V                                                        1  1  0     0     Reserved                                       __________________________________________________________________________

Card Status Change Register

PCI Addresses (hex): Socket A:84 Offset (hex): Socket A:04

Socket B:C4 Socket B:44

The Card Status Change register contains flag bits for each type of cardstatus change. Each flag can be enabled as an interrupt source bywriting to the Card Status Change Interrupt Configuration register. Thestatus flags can be cleared automatically by a register read orexplicitly by writing a zero (0) to each set flag. The method useddepends on whether bit XWBCSC in the Global Control register is set orclear. If the card status change interrupt is enabled to one of thesystem bus interrupt request lines, the corresponding IRQ signal remainsactive high until the register is

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7-5  --       R/W     Reserved                                                4    GPICHG   R       CPI change.                                                                   0 = No change detected on GPI signal.                                         1 = A change has been detected on GPI                                         signal.                                                 3    CDCHG    R       Card detect change.                                                           0 = No change detected on either CD1 or                                       CD2 signals.                                                                  1 = A change has been detected on either                                      CD1 or CD2 signals.                                     2    RDYCHG   R       Ready change.                                                                 0 = No low-to-high change detected on                                         RDY/BSY.                                                                      1 = Detected low-to-high change of the                                        RDY/BSY signal indicating that the                                            memory PC card is ready to accept new                                         data transfer.                                          1    BWARN    R       Battery warning.                                                              0 = Battery-warning condition not                                             detected                                                                      1 = Battery-warning condition detected                  0    BDEAD    R       Battery dead.                                                                 0 = Battery-dead condition not detected                                       1 = Battery-dead condition detected                     ______________________________________                                    

Address Window Enable Register

PCI Addresses (hex): Socket A:86 Offset (hex): Socket A:06

Socket B:C6 Socket B:46

The address window enable register controls the enabling of the memoryand I/O-mapping windows to the PC card memory or I/O space.

I/O window enables control I/O accesses within the I/O address for thewindow specified. When PC card enables are generated, I/O accesses passaddresses from the system bus directly through to the PC Card

    ______________________________________                                        Bit      Name      Access    Description                                      ______________________________________                                        7        IW1EN     R/W       I/O-window 1 enable.                                                          0 = Disable.                                                                  1 = Enable                                       6        IW0EN     R/W       I/C-window 0 enable.                                                          0 = Disable                                                                   1 = Enable.                                      5        --        R/W       Reserved                                         4        MW4EN     R/W       Memory-window 4 enable.                                                       0 = Disable.                                                                  1 = Enable.                                      3        MW3EN     R/W       Memory-window 3 enable.                                                       0 = Disable.                                                                  1 = Enable.                                      2        MW2EN     R/W       Memory-window 2 enable.                                                       0 = Disable.                                                                  1 = Enable.                                      1        MW1EN     R/W       Memory-window 1 enable.                                                       0 = Disable.                                                                  1 = Enable.                                      0        MW0EN     R/W       Memory-window 0 enable.                                                       0 = Disable.                                                                  1 = Enable.                                      ______________________________________                                    

Global Control Register

PCI Addresses (hex): Socket A:9E Offset (hex): Socket A:1E

Socket B:DE Socket B:5E

    ______________________________________                                        Bit  Name      Access  Description                                            ______________________________________                                        7-5  --        R/W     Reserved                                               4    BIREQLM   R/W     Card B IREQ level mode interrupt enable.                                      0 = B.sub.-- IREQ is pulse mode.                                              1 = B.sub.-- IREQ is level mode                        3    AIREQLM   R/W     Card A IREQ level mode interrupt enable.                                      0 = A.sub.-- IREQ is pulse mode.                                              1 = A.sub.-- IREQ is level mode                        2    XWBCSC    R/W     Explicit write back of card status                                            change interrupt acknowledge.                                                 0 = CSC interrupts cleared by read of                                         Card Status Change Register.                                                  1 = SCS interrupts cleared by explicit                                        write back of 1 to status flags in Card                                       Status Change Register.                                1    CSCLM     R/W     CSC level mode interrupt enable.                                              0 = CSC interrupts are pulse mode.                                            1 = CSC interrupts are level mode.                     0    PWRDN     R/W     Chip power down.                                                              0 = Normal operation.                                                         1 = Power down enabled.                                ______________________________________                                    

Card Detect and General Control Register

CI Addresses (hex): Socket A:96 Offset (hex): Socket A:16

Socket B:D6 Socket

    ______________________________________                                        Bit  Name      Access  Description                                            ______________________________________                                        7-4  --        R/W     Reserved                                               3    GPITRAN   R/W     GPI transition control.                                                       0 = GPI high to low transition causes CSC                                     interrupt.                                                                    1 = GPI low to high transition causes CSC                                     interrupt.                                             2    GPIEN     R/W     GPI enable.                                                                   0 = CSC interrupts from GPI disabled.                                         1 = CSC interrupts from GPI enabled.                   1    CONFRES   R/W     Configuration reset enable.                                                   0 = Normal operation.                                                         1 = Reset configuration registers for slot                                    when CD1 and CD2 go high.                              0    -         R/W     Reserved.                                              ______________________________________                                    

Interrupt Registers

Interrupt and General Control Register

PCI Addresses (hex): Socket A:83 Offset (hex): Socket A:03

Socket B:C3 Socket B:43

This read /write and General Control register controls the interruptsteering for the PC card I/O interrupt as well as general control of thePCU.

    __________________________________________________________________________    Bit                                                                              Name  Access                                                                            Description                                                      __________________________________________________________________________    7  CRIEN R/W                                                                              Ring indicate enable. The ring indicate                                       enable bit has no function when the PC                                        card type bit is set to 0 (memory PC                                          card). For I/O PC cards:                                                      0 = The STSCHG/RI signal from the I/O                                         PC card is used as the STSCHG signal.                                         The current status of the signal is then                                      available to be read from the interface                                       status register and this signal can be                                        configured as a source for the card                                           status change interrupt.                                                      1 = The STSCHG/RI signal from the I/O                                         PC card is used as a ring indicator signal                                    and is passed through to the SMI output.                          6  CRESET                                                                              R/W                                                                              PC card RESET. This is a software reset                                       to the PC card.                                                               0 = Drive card RESET active high.                                             1 = Drive card RESET active low.                                  5  CTYPE R/W                                                                              PC card type (memory card or I/O card).                                       0 = Selects a memory PC card.                                                 1 = Seiects an I/O PC card and enables the                                    PC card interface multiplexer for                                             routing of PC card I/O signals.                                   4  SMIEN R/W                                                                              SMI enable.                                                                   0 = CSC interrupts routed to one or more                                      of the IRQ lines according to bits 7-4                                        in the Card Status Change Configuration                                       register.                                                                     1 = CSC interrupts output on the SMI.                             3-0                                                                              CINT3-0                                                                             R/W                                                                              This field selects the routing for PC                                         card I/O interrupts.                                                           CINT3                                                                             CINT2                                                                             CINT1                                                                             CINT0                                                                             Level                                            __________________________________________________________________________                 0   0   0   0   IRQ not selected                                              0   0   0   1   Reserved.                                                     0   0   1   0   Reserved.                                                     0   0   1   1   IRQ3 enabled                                                  0   1   0   0   IRQ4 enabled                                                  0   1   0   1   IRQ5 enabled                                                  0   1   1   0   Reserved                                                      0   1   1   1   IRQ7 enabled                                                  1   0   0   0   Reserved                                                      1   0   0   1   IRQ9 enabled                                                  1   0   1   0   IRQ10 enabled                                                 1   0   1   1   IRQ11 enabled                                                 1   1   0   0   IRQ12 enabled                                                 1   1   0   1   Reserved                                                      1   1   1   0   IRQ14 enabled                                                 1   1   1   1   IRQ15 enabled                                    __________________________________________________________________________

Card Status Change Interrupt Configuration Register

PCI Adresses (hex) Socket A:85 Offset (hex): Socket A:05

Socket B:C5 Socket B:45

This register controls interrupt steering of the card status changeinterrupt and the card status change interrupt enables.

    __________________________________________________________________________    Bit                                                                              Name  Access                                                                            Description                                                      __________________________________________________________________________    7-4                                                                              SINT3-0                                                                             R/W This field selects the routing for CSC                                        interrupts. This field is ignored if bit SMIEN                                in the Interrupt and General Control register                                 is set to 1.                                                                  SINT3                                                                             SINT2                                                                             SINT1                                                                             SINT0                                                                             Interrupt Request Level                          __________________________________________________________________________                 0   0   0   0   IRQ not selected.                                             0   0   0   1   Reserved.                                                     0   0   1   0   Reserved.                                                     0   0   1   1   IRQ3 enabled.                                                 0   1   0   0   IRQ4 enabled.                                                 0   1   0   1   IRQ5 enabled.                                                 0   1   1   0   Reserved.                                                     0   1   1   1   IRQ7 enabled.                                                 1   0   0   0   Reserved.                                                     1   0   0   1   IRQ9 enabled.                                                 1   0   1   0   IRQ10 enabled.                                                1   0   1   1   IRQ11 enabled.                                                1   1   0   0   IRQ12 enabled.                                                1   1   0   1   Reserved.                                                     1   1   1   0   IRQ14 enabled.                                                1   1   1   1   IRQ15 enabled.                                   3  CDEN  R/W Card detect enable.                                                           0 = Disables the generation of a card status                                  change interrupt when the card detect signals                                 change state.                                                                 1 = Enables a card status change interrupt when                               a change has been detected on the CD1 or CD2                                  signals.                                                         2  RDYEN R/W Ready enable for memory PC cards. This bit is                                 ignored when the interface is configured for                                  I/O PC cards.                                                                 0 = Disables the generation of a card status                                  change interrupt when a low-to-high transition                                has been detected on the RDY/BSY signal.                                      1 = Enables a card status change interrupt when                               a low-to-high transition has been detected on                                 the RDY/BSY signal.                                              1  BWRNEN                                                                              R/W Battery warning enable for memory PC                                          cards. This bit is ignored when the                                           interface is configured for I/O PC                                            cards.                                                                        0 = Disables the generation of a card                                         status change interrupt when a battery                                        warning condition has been detected.                                          1 = Enables a card status change interrupt                                    when a battery warning condition has                                          been detected.                                                   0  BDEADEN                                                                             R/W Battery dead enable (STSCHG).                                                 0 = Disables the generation of a card                                         status change interrupt. This bit is                                          ignored when the interface is configured                                      for I/O PC cards and the CRIEN bit in                                         the interrupt and General Control                                             register is set to 1.                                                         1 = (For memory PC cards) Enables a card                                      status change interrupt when a battery                                        dead condition has been detected. (For                                        I/O PC cards) Enables the PCU to                                              generate a card status interrupt if the                                       STSCHG/RI signal has been pulled low by                                       I/O PC card, assuming that the ring                                           indicate enable bit in the interrupt and                                      general control register is set to 0.                            __________________________________________________________________________

I/O-window Registers

I/O-window Control Register

PCI Addresses (hex): Socket A:Offset (hex): Socket A:07

Socket B:C7 Socket B:47

This register configures I/O-window 0 and I/O-window 1

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7    IW1WS    R/W     Window 1 wait state.                                                          0 = 16-bit and 8-bit cycles have standard                                     length.                                                                       1 = 16-bit cycles extended by equivalent of                                   one ISA wait state, 8-bit cycles are                                          unchanged.                                              6    IW1ZWS   R/W     Window 1 zero wait state.                                                     0 = 16-bit and 8-bit cycles have standard                                     length.                                                                       1 = 8-bit cycles are reduced to equivalent                                    of three ISA clock cycles, 16-bit cycles                                      are unchanged.                                          5    IW1ADS   R/W     I/O-window 1 auto data size.                                                  0 = Window data width determined by bit                                       IW1DS.                                                                        1 = Window data width determined by input                                     IOIS16 from PC card.                                    4    IW1DS    R/W     I/O-window 1 data size. This bit is                                           ignored if IW1ADS is set.                                                     0 = Window data width is 8 bits.                                              1 = Window data width is 16 bits.                       3    IW0WS    R/W     Window 0 wait state.                                                          0 = 16-bit and 8-bit cycles have standard                                     length.                                                                       1 = 16-bit cycles extended by equivalent of                                   one ISA wait state, 8-bit cycles are                                          unchanged.                                              2    IW0ZWS   R/W     Window 0 zero wait state.                                                     0 = 16-bit and 8-bit I/O cycles have                                          standard length.                                                              1 = 8-bit I/O cycles are reduced to                                           equivalent of three ISA clock cycles,                                         16-bit I/O cycles are unchanged.                        1    IW0ADS   R/W     I/O-window 0 auto data size.                                                  0 = Window data width determined by bit                                       IW0DS.                                                                        1 = Window data width determined by input                                     I0IS16 from PC card.                                    0    IW0DS    R/W     I/O-window 0 data size. This bit is                                           ignored if IW0ADS is set.                                                     0 = Window data width is 8 bits.                                              1 = Window data width is 16 bits.                       ______________________________________                                    

I/O-Window 0 Start-Address Low-Byte Register

PCI Addresses (hex): Socket A:88 Offset (hex): Socket A:08

Socket B:C9 Socket B:49

This register contains the low-order address bits used to determine thestart address of I/O address window 0. This provides a minimum 1 bytewindow for I/O address window 0.

    ______________________________________                                        Bit  Name        Access  Description                                          ______________________________________                                        7-0  SA7-0       R/W     I/O-window 0 start address A7-0.                     ______________________________________                                    

I/O-Window 0 Start-Address High-Byte Register

PCI Addresses (hex): Socket A:89 Offset (hex): Socket A:09

Socket B:C9 Socket B:49

This register contains the high-order address bits used to determine thestart address of I/O address window 0.

    ______________________________________                                        Bit  Name    Access  Description                                              ______________________________________                                        7-0  SA15-8  R/W     I/O-window 0 start address A15-8.                        ______________________________________                                    

I/O-Window 0 End-Address Low-Byte Register

PCI Addresses (hex): Socket A:8A Offset (hex): Socket A:0A

Socket B:CA Socket B:4A

This register contains the low-order address bits used to determine theend address of I/O address window 0. This provides a minimum 1 bytewindow for I/O address window 0.

    ______________________________________                                        Bit  Name    Access  Description                                              ______________________________________                                        7-0  EA7-0   R/W     I/O-window 0 end address A7-0.                           ______________________________________                                    

I/O Window 0 End-Address High-Byte Register

PCI Addresses (hex): Socket A:8B Offset (hex): Socket A:0B

Socket B:CB Socket B:4B

This register contains the high-order address bits used to determine theend address of I/O address window 0.

    ______________________________________                                        Bit  Name    Access  Description                                              ______________________________________                                        7-0  EA15-8  R/W     I/O-window 0 end address A15-8.                          ______________________________________                                    

Memory Window Registers

Memory-window 0 Start-Address Low Byte Register

PCI Addresses (hex): Socket A:90 Offset (hex): Socket A:10

Socket B:D0 Socket B:50

This register contains the low-order address bits used to determine thestart address of the corresponding system memory address mapping window.This provides a minimum memory mapping window of 4K bytes.

A Memory PC card is selected when the following conditions aresatisfied.

The memory window is enabled.

The PCI address bits A 23-12 are greater than or equal to the memorywindow start address.

The PCI address bits are A23-12 are less than or equal to the memorywindow end address.

The PCI address bits AD31-24 are equal to the Memory Window Pageregister value (default is zero).

The system memory address mapping windows can all be configured bysoftware to be used independently, or used in concert to perform mappingfor special memory mapping requirements, like LIM/EMS(Lotus-Intel-Microsoft/Extended Memory Specification) or XIP (Execute inPlace).

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7-0  SA19-12  R/W     System memory-window start address A19-                                       12                                                      ______________________________________                                    

Memory-Window 0 Start-Address High-Byte Register

PCI Addresses (hex): Socket A:91 Offset (hex): Socket A:11

Socket B:D1 Socket B:51

This register contains the high-order address bits used to determine thestart address of the corresponding system memory address mapping window.Each system memory window has a data path size associated with it thatis controlled by a bit in this register.

    ______________________________________                                        Bit  Name      Access  Description                                            ______________________________________                                        7    DSIZE     R/W     Memory-window data size.                                                      0 = Window data width is 8 bits.                                              1 = Window data width is 16 bits.                      6    ZWS       R/W     Window 0 zero wait state.                                                     0 = 16-bit and 8-bit memory cycles have                                       standard length.                                                              1 = 8-bit memory cycles are reduced to                                        equivalent of three ISA clock cycles,                                         16-bit memory cycles are reduced to                                           equivalent of two ISA clock cycles.                    5-4  SCRATCH   R/W     Scratch bits. General purpose storage                                         and retrieval.                                         3-0  SA23-20   R/W     System memory-window start-address                                            A23-20.                                                ______________________________________                                    

Memory-Window 0 End-Address Low-Byte Register

PCI Addresses (hex): Socket A:92 Offset (hex): Socket A:12

Socket B:D2 Socket B:52

This register contains the low-order address bits used to determine theend address of the corresponding system memory address mapping window.This provides a minimum memory mapping window of 4 Kbyte.

    ______________________________________                                        Bit   Name      Access   Description                                          ______________________________________                                        7-0   EA19-12   R/W      System memory-window end address                                              A19-12.                                              ______________________________________                                    

Memory-Window 0 End-Address High-Byte Register

PCI Addresses (hex): Socket A:93 Offset Socket A:13

Socket B:D3 Socket B:53

This register contains the high-order address bits used to determine theend address of the corresponding system memory address mapping window.

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7-6  WS1-0    R/W     Window wait state. WS1 and WS0 deter-                                         mine the number of equivalent ISA wait                                        states added to 16-bit memory cycles                                          (8-bit memory cycles are unchanged).                    5-4  --       R/W     Reserved.                                               3-0  EA23-20  R/W     System memory-window end address                                              A23-20.                                                 ______________________________________                                    

Memory-Window 0 Ofset Address Low-Byte Register

PCI Addresses (hex): Socket A:94 Offset (hex): Socket A:14

Socket B:D4 Socket B:54

This register contains the low-order address bits that are added to thesystem address bits A19-12 to generate the memory address for the PCcard.

    ______________________________________                                        Bit   Name      Access   Description                                          ______________________________________                                        7-0   OF19-12   R/W      Card memory offset-address A19-12.                   ______________________________________                                    

Memory-Window 0 Offset Address High-Byte Register

PCI Addresses (hex): Socket A:95 Offset (hex): Socket A:15

Socket B:D5 Socket B:55

This register contains the high-order address bits that are added to thesystem address bits A23-20 to generate the memory address for the PCcard. The software write protect of the PC card memory for thecorresponding system memory window is controlled by this register. Thisregister also controls whether the corresponding system memory window ismapped to attribute or common memory in the PC card.

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7    WP       R/W     Write protect. Write operations to the                                        PC card through the corresponding sys-                                        tem memory window are controlled by                                           this bit.                                                                     0 = Write operations allowed.                                                 1 = Write operations are inhibited.                     6    REG      R/W     Reg active. Accesses to the system mem-                                       ory are controlled by this bit.                                               0 = Accesses common memory on the PC                                          card.                                                                         1 = Accesses attribute memory on the PC                                       card.                                                   5-0  OF25-20  R/W     Card memory offset-address A25-20.                      ______________________________________                                    

Configuration Header

The PCU supports the PCI defined 64-Kbyte header. Reads from registersthat are reserved or that are not implemented will return zero.

Device identification 1 Register

PCI Addresses (hex): 00

This 32-bit register contains the device and vendor ID.

    ______________________________________                                        Bit   Name       Access  Description                                          ______________________________________                                        31-16 DEVICE ID  R       Identifier allocated by vendor. PCU                                           device ID is 0900h.                                  15-0  VENDOR ID  R       Identifies manufacturer. TI vendor ID                                         is 104Ch.                                            ______________________________________                                    

Command Register

PCI Addresses (hex): 04

This 32-bit register contains the status and command fields.

    ______________________________________                                        Bit    Name       Access   Description                                        ______________________________________                                        31-16  STATUS     R        Reserved.                                          15-2   COMMAND    R        Reserved.                                          1                 R/W      0 = Memory access disabled.                                                   1 = Memory access enabled.                         0                 R/W      0 = I/O access disabled.                                                      1 = I/O access enabled.                            ______________________________________                                    

Device Identification 2 Register

PCI Addresses (hex): PCI Addresses (hex): 08

This 32-bit register contains the class code and revision fields.

    ______________________________________                                        Bit  Name       Access  Description                                           ______________________________________                                        31-8 CLASS CODE R       Class code is <Base class> and                                                <Sub-class> and <Prog if>.                                                    PCMCIA bridge class code is: 060500.                  7-0  REVISION ID                                                                              R       First silicon revision ID is 00.                      ______________________________________                                    

Miscellaneous Function 1 Register

PCI Addresses (hex): 0C

This 32-bit register contains the BIST, Header type, latency type, andcache line fields.

    ______________________________________                                        Bit    Name         Access   Description                                      ______________________________________                                        31-24  BIST         R        0 = No built in self test.                       23-16  HEADER TYPE  R        0 = Single function.                             15-8   LATENCY      R        0 = Target only.                                        TYPE                                                                   7-0    CACHE LINE   R        0 = Target only.                                 ______________________________________                                    

Base Address Registers 0 to 5

PCI Addresses (hex): 10, 14, 18, 1C, 20, 24.

These 32-bit registers are provided by PCI to allow software remappingof devices in I/O and memory space. The PCU does not implement thisfeature.

    ______________________________________                                        Bit      Name        Access    Description                                    ______________________________________                                        31-0     BASE        R         Not implemented.                                        ADDRESS                                                              ______________________________________                                    

Expansion ROM Base Address Registers

PCI Addresses (hex):30.

This 32-bit register Is provided by PCI to allow software remapping ofdevice expansion ROM. The PCU does not implement this feature.

    ______________________________________                                        Bit     Name          Access   Description                                    ______________________________________                                        31-0    ROM ADDRESS   R        Not implemented                                ______________________________________                                    

Miscellaneous Function 2 Register

PCI Addresses (hex):3C

This 32-bit register contains the MAX₋₋ LAT, MAX₋₋ GNT, interrupt pin,and interrupt line fields.

    ______________________________________                                        Bit   Name      Access  Description                                           ______________________________________                                        31-24 MAX.sub.-- LAT                                                                          R       0 = target only.                                      23-16 MAX.sub.-- GNT                                                                          R       0 = target only.                                      15-8  INT PIN   R       1 = single function: PCU uses INTA                                            only.                                                 7-0   INT LINE  R/W     Used to communicate interrupt line                                            routing but does not affect device                                            function. Field is written by POST                                            software after resource allocation and is                                     read by device drivers and operating                                          systems.                                              ______________________________________                                    

PCI Header Reserved Registers

PCI Addresses (hex):28, 2C, 34, 38

These 32-bit registers are read only with hard wired value 0.

Extension Registers

The extension registers are accessible only in PCI configuration spaceand are used to control special features.

Initialization Register

PCI Addresses (hex): Socket A:40

Socket B:44

This register controls device I/O addressing and software reset.

    ______________________________________                                        Bit  Name    Access  Description                                              ______________________________________                                        7-6  --      R/W     Reserved.                                                5-4  TS2-1   R/W     PCLK clock frequency bits programmed at                                       power up. The PCMCIA cycle generator                                          uses PCI clock for waveform timing.                                 TS1  TS0    Clock Frequency                                        ______________________________________                                                   0    0      24 MHz                                                            0    1      33 MHz                                                            1    0      50 MHz                                                            1    1      66 MHz                                                 3    IOSEL   R/W     IO address select.                                                            0 = Index/Data registers at 3E0/3E1.                                          1 = Index/Data registers at 3E2/3E3.                     2    DEVID   R/W     Device number.                                                                0 = Valid Index range is 00 to 3F for                                         socket A, 40 to 7F for socket B.                                              1 = Valid Index range is 80 to BF for                                         socket A, C0 to FF for socket B.                         1    SRES    R/W     Soft reset.                                                                   0 = Normal operation.                                                         1 = Reset PCU.                                           0    CSET    R/W     Chipset type.                                                                 0 = Chipset name 0                                                            1 = Chipset name 1                                       ______________________________________                                    

Writ Buffer Control Register

PCI Addresses (hex): Socket A:41

internal write buffer.

Socket B:45

This register controls the internal write buffer.

    ______________________________________                                        Bit  Name    Access  Description                                              ______________________________________                                        7-5  --      R/W     Reserved.                                                4    IOBUF   R/W     Write buffer cycle select.                                                    0 = Memory writes only to write buffer.                                       1 = Memory and IO writes to write buffer.                3    FDEP    R/W     Write buffer depth.                                                           0 = 4 deep.                                                                   1 = 1 deep.                                              2    FEN     R/W     Write buffer enable/disable.                                                  0 = Write buffer off.                                                         1 = Write buffer on.                                     1    FULL    R       Write buffer full.                                                            0 = Write buffer not full.                                                    1 = Write buffer full.                                   0    EMPTY   R/W     When read, this bit indicates write buff-                                     er status.                                                                    Read 0 = Write buffer not empty.                                              Read 1 = Write buffer empty.                                                  When written to, this bit allows software                                     to flush the write buffer.                                                    Write 0 = No change.                                                          Write 1 = Flush write buffer.                            ______________________________________                                    

Miscellaneous Register

Addresses (hex): Socket A:42

Socket B:46

This register controls socket PC card ring indicate, speaker, cardvoltage detection.

    ______________________________________                                        Bit  Name     Access  Description                                             ______________________________________                                        7-5  --       R/W     Reserved.                                               4    ATAEN    R/W     ATA special feature enable.                                                   0 = Normal operation.                                                         1 = I/O-window addresses 3F7 and 377 will                                     be read only. Input FDC.sub.-- D7 is routed to                                AD31 during reads from I/O 3F7 and 377.                 3    RISMI    R/W     Ring Indicate RI change to SMI interrupt                                      enable.                                                                       0 = Normal operation.                                                         1 = RI change generates level mode inter-                                     rupt on SMI.                                            2    RISTAT   R/W     RI Ring Indicate change.                                                      0 = No change detected on RI signal.                                          1 = A change has been detected on RI sig-                                     nal.                                                    1    SPKEN    R/W     Speaker to speaker out enable.                                                0 = SPKR routing to SPKROUT disabled.                                         1 = SPKR routing to SPKROUT enabled                     0    DET5V    R       This bit is connected to PC card pin                                          CIS3V.                                                                        0 = Card is 3 V.                                                              1 = Card is 5 V.                                        ______________________________________                                    

Memory-Window Page Register

PCI Addresses (hex): Socket A:43

Socket B:47

This register contains an 8 bit page number which is compared with PCIaddress signals AD31-24 during memory cycles. If the page bits P7-0match AD31-24 then the PCU memory-window decode logic is enabled. Thisallows the memory windows to be located above the first 16 Mbytes ofsystem address space, thereby overcoming a limitation of the ISA bus. Byusing the page register, the programmer can locate the PCMCIA memorywindows in any of the 256 separate 16 Mbyte pages which make up the 4Gbytes PCI address space.

    ______________________________________                                        Bit     Name     Access   Description                                         ______________________________________                                        7-0     P7-0     R/W      Memory-window page number.                          ______________________________________                                    

PCMCIA cycle timing is controlled by the wait-state bits in thecompatible Memory Window and I/O-Window registers. The PCMCIA cyclegenerator uses the PCI clock to generate the correct card address setupand hold, and the PCMCIA command active (low) interval. As the PCU maybe used in systems with different PCI clock frequencies, the PCMCIAcycle generator needs to know the maximum PCI clock frequency in orderto optimize the cycle timing. To communicate this information to thecycle generator, there are two additional register bits :48 implementedin the TI Initialization register. These bits TS1 and TS0 should beprogrammed by software according to maximum PCI clock frequency.

The PCMCIA address setup and hold times are a function of the wait statebits and the PCI clock frequency bits TS1,TS0. The next tables showaddress setup time in PCLK cycles and nanoseconds (ns) for I/O andmemory cycles, command active time in PCLK cycles and nanoseconds forI/O and memory cycles, and address hold time in PCLK cycles andnanoseconds for I/O and memory cycles.

    ______________________________________                                                          TS1:0 =  TS1:0 =  TS1:0 =                                                     00       01       10                                        Wait State Bits   PCLK/ns  PCLK/ns  PCLK/ns                                   ______________________________________                                        PCMCIA Address Setup, 8- and 16-bit PCI Cycles                                I/O               2/80     3/90     4/80                                      Mem  WS1  0       1/40     2/60     4/80                                      Mem  WS1  1        3/120    4/120    5/100                                    PCMCIA Command Active, 8-Bit PCI Cycles                                       I/O WS,  ZWS  0  0                                                                              15/600   19/570   29/580                                    1  X              18/720   23/690   35/700                                    0  1               5/200    7/210   10/200                                    Memory WS1, WS0, ZWS  00  0                                                                     15/600   19/570   29/580                                    01  X             18/720   23/690   35/700                                    10  X             18/720   23/690   35/700                                    11  X             18/720   23/690   35/700                                    00  1              5/200    7/210   10/250                                    PCMCIA Command Active, 16-Bit PCI Cycles                                      I/O WS, ZWS  0  0  5/200    7/210   10/200                                    1  X               8/320   11/330   16/320                                    0  1              N/A      N/A      N/A                                       Memory WS1, WS0, ZWS  00  0                                                                      7/280    9/270   13/260                                    01  X             10/400   13/390   19/380                                    10  X             13/520   17/510   25/500                                    11  X             16/640   21/630   32/640                                    00  1              4/160    5/150    7/140                                    PCMCIA Address Hold, 8- and 16-bit PCI Cycles                                 I/O               1/40     2/60     2/50                                      Mem  WS1  0       1/40     2/60     2/50                                      Mem  WS1  1       2/80     3/90     4/80                                      ______________________________________                                    

What is claimed is:
 1. A clock control circuit comprising:a first logiccircuit responsive to a mask clock input, a suspend input and a resumeinput, and an interrupt override input, to supply a CPU core suspendcontrol signal, wherein, in operation, the frequency of said mask clockinput can be varied to stop or slow down the operating speed of a CPUcoupled to said CPU core suspend control signal; and a second logiccircuit, responsive to a software controllable enabling input, at leastone interrupt input, and a clock signal, to supply said CPU core suspendcontrol signal wherein, in operation, said CPU core suspend controlsignal can provide a signal to suspend operation of said CPU and can actto lift said signal to suspend when an interrupt is indicated at saidinterrupt input.
 2. The clock control circuit as claimed in claim 1further comprising:a third logic circuit responsive to said suspendinput to supply a stop signal to a memory controller, and furtherresponsive to a stop acknowledge input from said memory controller tosupply a stop oscillator signal to stop at least one clock signal. 3.The clock control circuit as claimed in claim 1 wherein said secondlogic circuit is further responsive to said mask clock input to liftsaid signal to suspend independent of software intervention.
 4. Theclock control circuit as claimed in claim 1 further comprising:a thirdlogic circuit responsive to changes in said suspend input to supply astop oscillator output to stop generation of a clock signal, and tosubsequently lift said stop thereby allowing generation of said clocksignal; and a clock pulse counter circuit started in response to a liftof said stop from said third logic circuit to supply said resume inputof said first logic circuit after a predetermined number of cycles ofsaid clock signal have occurred.
 5. A method of operating a computersystem having a plurality of integrated circuit chips, comprising thesteps of:generating first clock pulses on a first chip; producing a CPUclock from said first clock pulses comprising the steps of:conveying andbuffering said first clock pulses off-chip of said first chip; supplyingthe buffered clock pulses to at least one other chip in said system aswell as back to said first chip; and clock-multiplying in said firstchip said buffered clock pulses fed back thereto, to produce said CPUclock; and gating said CPU clock with mask clock pulses from anotherchip in said system such that the frequency of said mask clock pulsescan be varied to stop or slow down the operating speed of a CPU coupledto said CPU clock.
 6. An electronic wiring board article of manufacturecomprising:a printed wiring board having a substantially insulativeplanar board element, conductors in or on said board element; a firstintegrated circuit mounted on said printed wiring board; and a secondintegrated circuit, mounted on said printed wiring board and coupled tosaid first integrated circuit via said conductors, said secondintegrated circuit supplying a mask clock signal to said firstintegrated circuit, said first integrated circuit comprising:a centralprocessing unit (CPU) having a clock input; a source of clock pulses; alogic circuit having an output to supply a clock control signal whereinsaid logic circuit is responsive to said mask clock signal, a suspendsignal, and a resume signal to generate said clock control signal basedon one or more of said mask clock signal, said suspend signal, and saidresume signal; a second logic circuit, responsive to a softwarecontrollable enabling input, at least one interrupt input, and a clocksignal, to supply said clock control signal wherein, in operation, saidclock control signal can provide a signal to suspend operation to saidCPU, and can act to lift said signal to suspend when an interrupt isindicated at said interrupt input; and a clock gate coupled to saidclock pulses and having a clock gate output coupled to the clock inputof said CPU, said clock gate responsive to said clock control signal toprevent said clock pulses from reaching said CPU within one clock cycleof a change in said clock control signal.
 7. The electronic wiring boardas claimed in claim 6 wherein said second logic circuit is furtherresponsive to said mask clock input to lift said signal to suspendindependent of software intervention.
 8. An electronic wiring boardarticle of manufacture comprising:a printed wiring board having asubstantially insulative planar board element, conductors in or on saidboard element; a first integrated circuit mounted on said printed wiringboard; and a second integrated circuit, mounted on said printed wiringboard and coupled to said first integrated circuit via said conductors,said second integrated circuit supplying a mask clock signal to saidfirst integrated circuit, said first integrated circuit comprising:acentral processing unit (CPU) having a clock input; a source of clockpulses; a logic circuit having an output to supply a clock controlsignal wherein said logic circuit is responsive to said mask clocksignal, a suspend signal, and a resume signal to generate said clockcontrol signal based on one or more of said mask clock signal saidsuspend signal, and said resume signal: a clock gate coupled to saidclock pulses and having a clock gate output coupled to the clock inputof said CPU, said clock gate responsive to said clock control signal toprevent said clock pulses from reaching said CPU within one clock cycleof a change in said clock control signal; and a memory controllercomprising a stop input and a stop acknowledge output, and a third logiccircuit responsive to a suspend input to supply a stop signal to saidmemory controller, and further responsive to said stop acknowledgeoutput from said memory controller to supply a stop oscillator signal tostop said source of clock pulses.
 9. An electronic wiring board articleof manufacture comprising:a printed wiring board having a substantiallyinsulative planar board element, conductors in or on said board element;a first integrated circuit mounted on said printed wiring board; and asecond integrated circuit, mounted on said printed wiring board andcoupled to said first integrated circuit via said conductors, saidsecond integrated circuit supplying a mask clock signal to said firstintegrated circuit, said first integrated circuit comprising:a centralprocessing unit (CPU) having a clock input; a source of clock pulsescomprising a clock generator having an oscillator and a phase lock loop,said phase lock loop having an output for clock pulses wherein saidfirst integrated circuit has a first terminal for external connectionfrom an output of said oscillator, and a second terminal coupled to aninput of said phase lock loop, said output of said oscillator and saidinput of said phase lock loop being electrically separated on-chip butsaid first and second terminals being externally buffer-coupled off-chipby a clock buffer unit having an input connected to said first terminal,and outputs including a first output coupled to said second terminal anda second output coupled to said second integrated circuit as a clockinput thereto, whereby clock skew is reduced; a logic circuit having anoutput to supply a clock control signal wherein said logic circuit isresponsive to said mask clock signal, a suspend signal, and a resumesignal to generate said clock control signal based on one or more ofsaid mask clock signal, said suspend signal, and said resume signal; anda clock gate coupled to said clock pulses and having a clock gate outputcoupled to the clock input of said CPU, said clock gate responsive tosaid clock control signal to prevent said clock pulses from reachingsaid CPU within one clock cycle of a change in said clock controlsignal.